----- Original Message ----- 
From: "Markus Humm" <[EMAIL PROTECTED]>
To: <twsocket@elists.org>
Sent: Wednesday, February 01, 2006 6:41 PM
Subject: [twsocket] Clarification on asynchronus and threads

> Hello,
> given a program which uses several sockets for several connections
> simultaniously. The responses from these connections (assume a 100 BMit
> LAN and about 10 connections) occur assynchronically, all sockets have
> been created by the main program.
> What if one of these sockets has lengthy things to do in its receive
> handler? Does it block all others because all have been created in the
> same thread? or do these events still occur to the other sockets as
> well, enabling them to do also lengthy processing? (means do they really
> run in paralell independant from each others?)
> Greetings
> Markus

While you are in the receive handler, other events cant be triggered for 
other sockets because no message pump is running.  You should keep your 
event handlers speedy, or if if you cant, move the processing to another 


To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to