recvfrom()

Description

Receive a datagram and store the source address.

#include <winsock.h>

int PASCAL FAR recvfrom ( int s, char FAR * buf, int len, int flags, struct sockaddr FAR * from, int FAR * fromlen );