Client |
Service |
Client obtains from OS a port for communication, (let's say 23001). | |
Send connection request to service's IP address and port (e.g. 80 for HTTP). | |
| Receive request on port 80. Obtain from OS a port
for communication with the requester (let's say 10987). Respond to
client. |
Client receives message including server port number
(10987). |