Advertisement

Tiny C# Listen Server

Started by July 28, 2005 08:32 PM
2 comments, last by GameDev.net 19 years, 6 months ago
Hello Everyone, Tiny C# Listen Server I made this very little demo application as an example of how to quickly get an Asynchronous listen server running in C#. It is supposed to be as simple as possible but demonstrate the gist of what the listen portion of a TCP server would do using this Asynchronous method (BeginAccept). If anyone who has some free time could take a look, make some suggestions, or point out any flaws, it would be greatly appreciated. Thanks,
-------------------------------------------------------------------Life is short so go on and live it, cause the chicks dig it.- Kahsm
Hey that's neat.

Don't have any criticisms other than your code is very well commented and easy to understand.

If you have the time, I would love to see it evolve into a little networked game.

Shedletsky's Bits: A Blog | ROBLOX | Twitter
Time held me green and dying
Though I sang in my chains like the sea...

Advertisement
Thanks that is really helpful and now I am considering writing my server in c#.
However the example needs to be extended to show how to receive data from a client and also how to determine if a client connection is closed so that it may be removed from the arraylist, since I have no idea ;)

This topic is closed to new replies.

Advertisement