Dear List, I'm having difficulties with the following:
Say you have a server program that listens on port 1234 The server handles requests and spawns a child process for every connection. If a client sends the text "foo" to the server, the server itself should try to make a connection with another service on port 4321. How can I accomplish that the server still responds to incoming requests on port 1234 but also sends its commands over the other socket to port 4321? I end up with my server talking over port 4321 but not listening to commands on port 1234 anymore.. I've found some people talking about IO::Socket:Select but I'm unable to find a simple example of how to implement something above... All I want to accomplish is talking over 2 (or more) sockets without the server hanging itself on one of the sockets. Any help with examples or pointers in the right direction is appreciated! [cid:blank29.gif] Marco van Kammen Applicatiebeheerder [cid:blank4823.gif] [cid:blank6784.gif] Mirabeau | Managed Services Dr. C.J.K. van Aalstweg 8F 301, 1625 NV Hoorn +31(0)20-5950550 - www.mirabeau.nl<http://www.mirabeau.nl> [Mirabeau] [cid:leaf3d6c.gif] Please consider the environment before printing this email
<<inline: blank29.gif>>
<<inline: blank4823.gif>>
<<inline: blank18be.gif>>
<<inline: blank6784.gif>>
<<inline: miralogo4ae1.png>>
<<inline: leaf3d6c.gif>>