3 % (c) The GRASP/AQUA Project, Glasgow University, 1998
5 \subsection[recvFrom.lc]{recvFrom run-time support}
10 #define NON_POSIX_SOURCE
12 #include "ghcSockets.h"
15 recvFrom__(fd, buf, nbytes, from)
25 sz = sizeof(struct sockaddr_in);
27 while ( (count = recvfrom((int)fd, (void*)buf, (int)nbytes, flags, (struct sockaddr*)from, &sz)) < 0) {