Rank: Newbie Groups: Member
Joined: 10/24/2009 Posts: 2 Points: 6 Location: China
|
(first, sorry for my poor english as a chinese)
my code fragments is:
AcceptOptions ac=new AcceptOptions(); ac.MinimumPreparedConnections = 256; ac.DeltaConnections = 64; ac.MaximumTotalConnections = Int32.MaxValue; ac.Backlog = 256; (....) call method: AcceptAsync(IPEndPoint, ConnectCompleteDelegate, ac) start the server.
the problem is: I used an multithreaded eachclient( about 2000+ sockets) to test your server i quickly pressed the disconnect-button in my eachclient after i pressed the connect-button, your server disappeared suddenly without any exception in VS2008.so i tried again without the "AcceptOptions", your server runs well. And this is what i met, please help me, thank u.
|
Rank: Administration Groups: Administration
Joined: 2/15/2008 Posts: 130 Points: 835
|
Hi,
The values that you specified in AcceptOptions match exactly the default values. So it should be no difference in behavior. Please try to reproduce the issue. Also please tell me what does your client do? Just connects and disconnects?
|
Rank: Newbie Groups: Member
Joined: 10/24/2009 Posts: 2 Points: 6 Location: China
|
hi, thank u for reply. my client will send some bytes after connect to server then wait for the server to reply(any reply will be accepted). just because the "AcceptOptions" i used in my code is exactly the default values, i am confused. if you can provide ways to let me upload Flash file(s), i will do some screen-records to show you what was going on.
|
Rank: Administration Groups: Administration
Joined: 2/15/2008 Posts: 130 Points: 835
|
Please send your screen-cast to support@kodart.com
|