RSS LinkedIn Twitter

Archive for the ‘C++’ Category

Although a TCP client is fundamentally different from a TCP server, setting up the socket is very much the same. For a server, we called these methods in this order: socket()→bind()→listen()→accept(), followed by sequences of read() and write(). For a client we will call these methods in this order: socket()→connect(), followed by sequences of write() […]

Tuesday, August 18th, 2009 at 10:15 0 comments