http://www.lowtek.com/sockets/select.html One traditional way to write network servers is to have the main server block on accept(), waiting for a connection. Once a connection comes in, the server fork()s, the child process handles the connection and the main server is able to service new incoming requests. With select(), instead of having a process for each [...]
Archive for February 28th, 2011
select
Posted in Tech on February 28, 2011 | Leave a Comment »