Welcome Guest Search | Active Topics | Members | Log In | Register

A problem with acceptOption may be? Options
clarksheng
Posted: Saturday, October 24, 2009 11:36:18 AM
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.


admin
Posted: Sunday, October 25, 2009 2:05:16 PM
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?
clarksheng
Posted: Monday, October 26, 2009 3:33:32 AM
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.
admin
Posted: Monday, October 26, 2009 8:45:51 AM
Rank: Administration
Groups: Administration

Joined: 2/15/2008
Posts: 130
Points: 835
Please send your screen-cast to support@kodart.com
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.6 (NET v2.0) - 11/14/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.
This page was generated in 0.073 seconds.
11 queries (0.018 seconds, 24.66%).

yaf_pageload: 0.005
yaf_topic_info: 0.001
yaf_forum_list: 0.001
yaf_forum_listpath: 0.001
yaf_forum_listpath: 0.001
yaf_post_list: 0.002
yaf_usergroup_list: 0.001
yaf_usergroup_list: 0.001
yaf_usergroup_list: 0.001
yaf_usergroup_list: 0.002
yaf_active_listtopic: 0.002