springtg / lidgren-network-gen3

Automatically exported from code.google.com/p/lidgren-network-gen3
0 stars 0 forks source link

get server full response when config.MaximumConnections set to 1 #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
i want to allow only one connection to my server at a time. i therefore set the 
MaximumConnections field in NetPeerConfiguration to 1.

i am seeing the following behavior:

when i start the server first and then the client, all works fine.

however, when i start the client first and then the server, the server receives 
the connection request but responds with "server full".

if i don't set MaximumConnections at all, it works in both cases.

is this a bug or a feature? what is it i am not understanding?

Original issue reported on code.google.com by xy5...@gmail.com on 11 Mar 2011 at 2:42

GoogleCodeExporter commented 9 years ago
I could not reproduce your exact problem; however I found a related problem and 
fixed it in rev 192 - can you test that revision and see if your problem 
persists? (If it does; can you provide an even more detailed repro?)

Original comment by lidg...@gmail.com on 11 Mar 2011 at 9:01

GoogleCodeExporter commented 9 years ago
just tested it and rev192 fixed the issue. thanks for that!

btw: i haven't checked the license yet but i am planning on using your
library in a commercial product.
except for giving you credit in the about box and gratitude (that goes
without saying), will there be any license fees?
if so, what are we looking at?

Original comment by xy5...@gmail.com on 11 Mar 2011 at 10:27

GoogleCodeExporter commented 9 years ago
The library is licensed under the MIT license 
(http://www.opensource.org/licenses/mit-license.php) which is very 
unrestrictive; there are no fees and no other requirements. I appreciate a note 
in the game somewhere that it's used and if you feel really generous you can 
give a donation; http://code.google.com/p/lidgren-network-gen3/wiki/Donate

Original comment by lidg...@gmail.com on 11 Mar 2011 at 10:56

GoogleCodeExporter commented 9 years ago
actually, it's not a game. it's a software for educational purposes.
you will be mentioned in the about box and once the sales are happening you can 
expect a donation.

your generosity in making it MIT is much appreciated! your library is saving me 
valuable time!

Original comment by xy5...@gmail.com on 11 Mar 2011 at 11:03

GoogleCodeExporter commented 9 years ago

Original comment by lidg...@gmail.com on 11 Mar 2011 at 11:16