Thread: Network Model
View Single Post
  #7 (permalink)  
Old May 27th, 2002
loStHead loStHead is offline
Apprentice
 
Join Date: May 27th, 2002
Posts: 8
loStHead is flying high
Default

Right.
Ive been thinking about mixing asynchronous sockets and syncronous, or whatever, using poll() to watch for events on a main thread, while other thread handles incoming connections (blocks in an infinite listen), and many more threads handling outgoing connections. That is, when they connect (full handshaking) the thread exits and joins the main thread.

What I actually want is not to use threads at all, if possible, as Mutella (I guess) does.

Thats the only solution I could think about but Im sure anyone here can help me through this.
Reply With Quote