Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: Win32 sockets and disconnects

by HaB (Sexton)
on Dec 13, 2000 at 19:38 UTC ( #46426=note: print w/ replies, xml ) Need Help??


in reply to Re: Win32 sockets and disconnects
in thread Win32 sockets and disconnects

Interesting...

We tried what you said, with some definately odd results:

Started server, started client A.
Ctrl-C'd client A and restarted it.
Got the same result we had been getting. It says it connects, sends a message, and sits waiting for an ACK.

Then, we started client B on another machine. It also says it connects, sends a message, and waits for an ACK.

Now...if I understand sockets correctly, you can't have 2 connections made to the same port, unless you are handing off connections to another handler for processing, and leaving the original port open for new connects, right?

Since I'm not doing any of that....how can this be?

Is this a client problem?
Is the OS (Win32) doing some internal stuff I'm not aware of?


-HaB


hword.


Comment on Re: Re: Win32 sockets and disconnects

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://46426]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2014-12-22 15:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (119 votes), past polls