[twsocket] How to: Client -- many servers

2009-02-17 Thread Verstrepen
Hello,
 
I have the next situation:
 
I need to connect to industrial printers for printing on packaging witch
are acting like servers.
So, what I do is: I create a client and connect to such a printer. This
works fine.
 
Now I have to modify my application that I have to search in a range of
IP-adresses for such printers.
When I find a printer, I have to connect to it and searching further for
more printers.
So, I can have more connections ( Client-- printer )
I know how to work with 1 Server-- many Client connections, but this is
many clients--to many servers.
How can I past a server of a printer to a client and searching for the
next server of a printer.?
 
I am using Delphi 2007 + ICS V5
 
Best regards,
Eric
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] How to: Client -- many servers

2009-02-17 Thread Francois PIETTE
 I need to connect to industrial printers for printing on packaging witch
 are acting like servers.
 So, what I do is: I create a client and connect to such a printer. This
 works fine.

 Now I have to modify my application that I have to search in a range of
 IP-adresses for such printers.
 When I find a printer, I have to connect to it and searching further for
 more printers.
 So, I can have more connections ( Client-- printer )
 I know how to work with 1 Server-- many Client connections, but this is
 many clients--to many servers.
 How can I past a server of a printer to a client and searching for the
 next server of a printer.?

If you have to be connected simultaneously to many servers, simply use as 
many TWSocket as you have server.
If you connect to a server, send something, disconnect and go with next 
server, then you can use a single TWSocket.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

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