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

How efficient is the Network class, when it is use to be a client ? Options
Idrakis
Posted: Friday, November 20, 2009 4:41:37 PM
Rank: Member
Groups: Member

Joined: 11/19/2009
Posts: 7
Points: 21
Location: France
Hello,

I would like to create many clients in my application, is it the good way to use the Network class to do it ?
Is it a light class wich is able to be instanciate a lot of time ? ( and be still efficient )
Or should I use the classic way, with .NET sockets ?

Thanks.
admin
Posted: Friday, November 20, 2009 6:10:31 PM
Rank: Administration
Groups: Administration

Joined: 2/15/2008
Posts: 130
Points: 835
You should use one common Network object to create many clients
Idrakis
Posted: Saturday, November 21, 2009 1:12:14 AM
Rank: Member
Groups: Member

Joined: 11/19/2009
Posts: 7
Points: 21
Location: France
So, if I use ConnectAsync, this will not erase the old connexion, but create a new one.
Very good, this library is really great.

Thanks a lot for help.
admin
Posted: Saturday, November 21, 2009 5:22:31 AM
Rank: Administration
Groups: Administration

Joined: 2/15/2008
Posts: 130
Points: 835
Yes, you are absolutely right
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.080 seconds.
11 queries (0.028 seconds, 35.00%).

yaf_pageload: 0.014
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.002
yaf_usergroup_list: 0.002
yaf_active_listtopic: 0.002