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

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
Writing the Client Process
NOTE
The client process does not get feedback that the server process has
completed the accept call. As soon as the connect call returns, the
client process can send data. Local internet and port addresses are bound
when connect is executed if you have not already bound them yourself.
These address values are chosen by the local host.
When to Request a Connection
The client process should request a connection after socket is created and
after server socket has a listening socket. Refer to the connect(2) man
page for more information on connect.
42
Chapter 2

Advertisement

Table of Contents
loading

Table of Contents