lidgren / lidgren-network-gen3

Lidgren Network Library
https://groups.google.com/forum/#!forum/lidgren-network-gen3
MIT License
1.19k stars 331 forks source link

Connecting multiple clients to a single server on same machine #17

Closed oddgames-david closed 9 years ago

oddgames-david commented 9 years ago

I'm having multiple connections from the same machine to itself.

I'm creating a peer-to-peer network and I introduce every body correctly and they are all connected to each other (netPeer.Connections has the correct amount or connections and they are all connected).

When I try to send a message outward, only 2 of the peers (out of 4) are able to send.

Is there a problem where they get mixed up?

oddgames-david commented 9 years ago

Increase ping to 2 seconds and timeout to 10 seconds seems to stop this problem.