> -----Ursprungliche Nachricht----- > Von: Dod [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 1. Februar 2006 12:02 > An: ICS support mailing > Betreff: Re: [twsocket] Problems with TWSocket.close and DLL > > > Hello Markus, > > Why do you use one thread per socket ? TSWocket is event driven so you > can connect to 500 servers if you want within same thread. > > For polling messages, if you .mulithread:=true then the TWSocket will > create its own message queue.
This is done because each thread does more things than just sending receiving. Each thread also does packet handling of our own protocoll. Each logical connection represented by a thread and a socket) corresponds to a physical connection. (ethernet cable from the switch behind the NIC on). Greetings Markus -- 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