Windows Service to Receive TCP Packets

I am need to write a Windows Service application that accepts TCP/IP connections for much simultaneous connections . Something about 2000 connections at time.

I prefer if this Windows Service is async.
berechitAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Gary PattersonConnect With a Mentor VP Technology / Senior Consultant Commented:
Here's a very robust MSDN example (and article) of a scalable async socket server.  

This code should give you a very good place to start.  It is configurable to allow you to set up as many simultaneous connections as you like, and should be capable of supporting thousands of connections when run on adequate hardware and with an adequate network connection.

High Performance .NET Socket Server Using Async Winsock
https://code.msdn.microsoft.com/windowsdesktop/High-Performance-NET-69c2df2f
0
 
QlemoDeveloperCommented:
What is the question here?
0
 
berechitAuthor Commented:
I need a code with one approach to this windows service.
0
All Courses

From novice to tech pro — start learning today.