HP Rp3440-4 - 9000 - 0 MB RAM Programmer's Manual page 46

Bsd sockets interface programmer’s guide
Hide thumbs Also See for Rp3440-4 - 9000 - 0 MB RAM:
Table of Contents

Advertisement

Using Internet Stream Sockets
Sending and Receiving Data
Use the MSG_PEEK option to preview incoming data. If this option is
set on a recv, any data returned remains in the socket buffer as though
it had not been read yet. The next recv returns the same data.
When to Receive Data
The server or client process should receive data after connection is
established. Refer to the recv(2) man page for more information on
recv.
46
Chapter 2

Advertisement

Table of Contents
loading

Table of Contents