
Prof. Ismael H. F. Santos
- ismael@tecgraf.puc-rio.br
2
Socket Communication
nIf
everything goes well, the server accepts the connection. Upon acceptance, the server gets a new socket
bounds to a different port.
It needs a new socket (consequently a different port number) so that it can continue to listen to
the original socket for connection requests while serving the connected client.
Client
Connection
port
port
port