Hello Eric, Yes you can do the same way.
--- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Wednesday, July 19, 2006, 21:24, Eric Verstrepen wrote: > Hi All, > I have the following situation. > On one computer I have to connect to max. 50 servers. > Every server is connected to a client on the computer. > Al servers (computers ) and the one with the clients or on a LAN. > So I need 50 clients on that computer. > The data traffic is very low. > So what I want to do is the following. > I want to make a list with the properties of the servers.( IPadres,port ) > For every server I create at runtime a client. > All clients using the same eventhandlers. > I made something in the past for serial comm..(RS232) > What I was doing is the following: > I use on event for receiving data. > When the data is received, > I use postmessage to trigger my other routine where I handle the data. > In this way, the event handler for receiving data gets free to serve the > other connections. > Can I use the same way of working when i use Twsocket ? > Or what I have to do to make sure I can serve all my connections. > Best regards, > Eric Verstrepen > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.10.1/391 - Release Date: 18/07/2006 -- 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