• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 341
  • Last Modified:

What's the best TCP/IP library for C# 2.0?

hello, I'm writing a server application using C# 2.0 which has MS SQL 2005 as backend. the server must support more then 10000 of users, and I need a bugs free, high performance and asynchronous tcp/ip lib for comunication. anyone can help? thanks in advance
0
Dato0011
Asked:
Dato0011
  • 2
1 Solution
 
lostcarparkCommented:
The obvious place to start is the System.Net.Sockets namespace built into the .NET framework, which should be well able to cope with most requirements.

On the other hand, you should consider whether your application could be served by a Web Service. While the web service will impose some overheads, it has several advantages such as being easy to consume, and works well through firewalls. It's also highly scalable, since you can put it on a server cluster and let IIS handle the management issues. If you roll your own and you need to scale to multiple servers, things can get complicated.
0
 
Dato0011Author Commented:
thanks for your reply lostcarpark. I have no experience in Web services. is it possible to compress the packets between client and the web service? also take in mind that i'm writing the client application using Delphi. will this cause some problems?
0
 
lostcarparkCommented:
Web services are easy to write in C# (or VB.NET). You simply inherit the class from System.Web.Service.WebService, and all your public methods and properties can be called by a consuming object as if they were local.

It's been a few years since I've done anything in Delphi, but apparently it's fairly easy to make subscribe to a web service from Delphi. Here's an example:

http://delphi.about.com/gi/dynamic/offsite.htm?zi=1/XJ&sdn=delphi&zu=http%3A%2F%2Fwww.drbob42.com%2Fexamines%2Fexamin45.htm
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now