Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 61. Sockets: Advanced Topics > Socket-Specific I/O System Calls: recv()...

61.3. Socket-Specific I/O System Calls: recv() and send()

The recv() and send() system calls perform I/O on connected sockets. They provide socket-specific functionality that is not available with the traditional read() and write() system calls.

#include <sys/socket.h>

ssize_t recv(int sockfd, void *buffer, size_t length, int flags);


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial