[ee122] keep-alive

Davide Cerri davide.cerri at gmail.com
Sat Oct 13 13:26:37 PDT 2007

I am having trouble to understand how to implement keep-alive. Precisely:
Lets say i create a server that talks on port 80.
when i first connect the client to port 80 of the server, the server
creates a new socket for me to talk. Then if as a client i try to talk
again to port 80 my server tells me that it already created a socket
for me and returns and error.

do i have to set my client to send messages to the port i was
assigned, or do i have to have the server redirect the message to the
correct file descriptor?

~/Davide Cerri

More information about the ee122 mailing list