develooper Front page | perl.beginners | Postings from February 2002

sockets help??

Thread Next
Hotmail - mrengc
February 6, 2002 02:10
sockets help??
Message ID:

Just wondering if you could give me a hand with sockets?  If not I understand.

I am trying to write winsock software to have one client connect to three different server computers (not simultaneously) by simple sock stream.  I tried to create one socket and connect to each computer.  Once the previous connection is completed with one of the computers, I would change the last part of the IP to connect to another computer, but with the same socket.  I used the same port for all connections.  It did not work.  Any suggestions?

When I use closesocket() function, does that make that socket unusable?
After you connect to a server computer, then leave continue doing something else, is the connection still live?



Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About