search
Japanese Chinese Nederlands Espanol Italiano Deutsch Francais Twitter Rss Feeds
MicrosoftArticlesForumsFAQs
C# .NET
VB.NET
Visual Studio .NET
ADO.NET
Xml / Xslt
VB 6.0
.NET CF
GDI+
LINQ
Deployment
Security
FoxPro
Silverlight / WPF
Entity Framework
RIA Services

Web ProgrammingArticlesForumsFAQs
JavaScript
ASP
ASP.NET
Web Services

Non-MicrosoftArticlesForumsFAQs
NHibernate
Perl
PHP
Ruby
Java
Linux / Unix
Apple
Open Source

DatabasesArticlesForumsFAQs
SQL Server
Access
Oracle
MySQL
Other Databases

OfficeArticlesForumsFAQs
Excel
Word
Powerpoint
Outlook
Publisher
Money

Operating SystemsArticlesForumsFAQs
Windows 7
Windows Server
Windows Vista
Windows XP
Windows Update
MAC
Linux / UNIX

Server PlatformsArticlesForumsFAQs
BizTalk
Site Server
Exhange Server
IIS

Graphic DesignArticlesForumsFAQs
Macromedia Flash
Adobe PhotoShop
Expression Blend
Expression Design
Expression Web

OtherArticlesForumsFAQs
Subversion / CVS
Ask Dr. Dotnetsky
Active Directory
Networking
Uninstall Virus
Job Openings
Product Reviews
Search Engines
Resumes

 

View Other C# .NET Posts   Ask New Question 
TCP multi-client continous connection/data exchange
Dan Ricafort posted at Tuesday, November 18, 2008 12:54 AM

Hi,

I am wondering how should I implement my multi client-server application.

When the connection of a client is established with the server and the

exchange was done, can I just retain the connection until the client initiates to disconnect?

Or just disconnect whenever a request/response was finished then establish a new connection again if it is needed

I am just concerned that if the connection will be continous it may be not a good choice because of network issues (bandwidth,security or anything) or client machine issues (memory,local resource or anything)

I hope anyone can help me on this.

 

TIA- Dan


 
re
Web star replied to Dan Ricafort at Tuesday, November 18, 2008 1:03 AM

u right the connection should be disconnect when request/response was finished because unusual load is bothering .

 
reply
Dan Ricafort replied to Web star at Tuesday, November 18, 2008 2:02 AM

thanks lalji

thanks for the comment arvind.

The link was very helpful, that can help me implement it.

But I still need some suggestions on which is better:

continously alive connection or just a frequent reconnection?

how does multi player games implement it?

does anyone have an idea? does the connection always alive until the game finish?

 

 
  re
Web star replied to Dan Ricafort at Tuesday, November 18, 2008 2:22 AM
just a frequent reconnection is better option
 
reply
Dan Ricafort replied to Web star at Tuesday, November 18, 2008 2:44 AM
Thank you for the suggestion.