Multiple socket clients



I am writing a simulator that talks to an existing server. This server
accepts multiple (12) connections, in the real world from PCs that are
transfering messages from hardware devices.

If I connect to the server locally, that is, my client running on the same
box, it's fine and I can run multiple instances .. as long as I'm using the
loopback address (127.0.0.1). If I utilize the real IP address, the 2nd
connect works, but breaks the first connection with a -1 ECONNRESET (or
whatever, not handy right now). Doesn't matter if I'm on the same host or
not when I specify the server's IP. Only the last session persist.

I'm able to connect from multiple hosts but the previous connection is
always reset once the second connection is made.

Am I missing something fundamental here?

TIA
.



Relevant Pages

  • Re: downloading a single file using multiple threads
    ... The multi part requests in HTTP1.1 are meant to request a single part or multiple parts in a single request, but you can't requests multiple parts in parallel from multiple client threads. ... I know that down-load managers claim to work over HTTP, but that doesn't mean they support multi-part parallel request handling over the same or multiple connections, I don't even know if the protocol allows you to issue new range request when you have a range requests pending. ... If on one connection the client asks for the first megabyte and on a second connection the same client asks for the second megabyte, then if the server is capable of servicing both requests at the same time, there's no reason the client can't wind up receiving both the first and second megabytes in parallel. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: downloading a single file using multiple threads
    ... The multi part requests in HTTP1.1 are meant to request a single part or multiple parts in a single request, but you can't requests multiple parts in parallel from multiple client threads. ... There's nothing about HTTP that requires servers to restrict their communications to a given client to a single connection, and there's nothing about HTTP that stipulates that an HTTP server needs to coordinate communications on independent connections. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Multiple socket clients
    ... multiple hosts and processing the transactions. ... same machine) I can only keep the last connection going. ... server accepts multiple connections, in the real world from PCs ... I'm able to connect from multiple hosts but the previous connection ...
    (comp.unix.programmer)
  • Re: Setting up incoming dial up connections
    ... The users will get their internet connection from the server. ... > multiple modems on the server and do I need to have ... how are the remote users ...
    (microsoft.public.windows.server.general)
  • Re: Multiple socket clients
    ... in the real world from PCs that are transfering messages from hardware devices. ... If I connect to the server locally, that is, my client running on the same box, it's fine and I can run multiple instances .. ... If I utilize the real IP address, the 2nd connect works, but breaks the first connection with a -1 ECONNRESET. ... I'm able to connect from multiple hosts but the previous connection is always reset once the second connection is made. ...
    (comp.unix.programmer)