DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Interprocess communication using UNIX domain sockets

Receiving on datagram sockets (UNIX domain)

To receive data on an unconnected datagram socket, use recvfrom:

recvfrom (s, buf, buflen, flags, &from, &fromlen);

Again, fromlen initially contains the size of the from buffer, and is modified on return to indicate the actual size of the address from which the datagram was received.


Next topic: Using connect on a datagram socket (UNIX domain)
Previous topic: Sending from datagram sockets (UNIX domain)

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003