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

Posted on 2006-05-05
Last Modified: 2010-04-17
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
Question by:Dato0011
    LVL 5

    Expert Comment

    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.

    Author Comment

    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?
    LVL 5

    Accepted Solution

    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:

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Suggested Solutions

    Title # Comments Views Activity
    dividesSelf challange 15 57
    sumDigits  challenge 7 37
    wordlen challenge 3 26
    wordappend challenge 8 44
    This article is filled with multiple code samples and explanations for mathematical calculations. They are as follows: 1. General tips 2. Quadratic formula 3. Object collision 4. Projectile path General Tips       Here are some of my tips f…
    INTRODUCTION We all know how to code. But at times you simply want to insert a common code block into your existing code and amend it as per your requirements. This tool not only saves you time but also saves you the pain of typing it all out aga…
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now