OWLNext 7.0
Borland's Object Windows Library for the modern age
|
In stream-based communication, the server client applications request services from a server application, as shown below.
The table below shows the sequence of operations for the server and the client.
Server | Client |
Create a socket | |
Bind an address to the socket | |
Listen for service requests | |
Create a socket | |
Accept the connection | Connect to the server |
Send and receive data | Send and receive data |
Close the connection | Close the connection |