recvfrom()

The socket call receives data on a socket.

Syntax

#include <types.h>
#include <sys\socket.h>
int recvfrom(s, buf, len, flags, name, namelen)
int s;
char *buf;
int len;
int flags;
struct sockaddr *name;
int *namelen;

Parameters

s

buf len flags