Re: [twsocket] Multiple clients - no server

2006-07-20 Thread Francois Piette
Yes you can.

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be

- Original Message - 
From: Eric Verstrepen [EMAIL PROTECTED]
To: twsocket@elists.org
Sent: Wednesday, July 19, 2006 9:24 PM
Subject: [twsocket] Multiple clients - no server


 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

-- 
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


Re: [twsocket] Multiple clients - no server

2006-07-20 Thread Wilfried Mestdagh
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