Re: Leader/Follower design pattern question



In isectd, the select() loop waits for one of the handles in fdset to
show read (read or write). If the ready handle is the listen() handle,
it accept()s the connection, adds the new socket to the fdset, and
returns to the select().

Keep it simple.

--
Visit <http://blogs.instreamco.com/anything.php> to read
my rants on technology and the finance industry. Visit
<http://tggagne.blogspot.com/> for politics, society and culture.
.