Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello,

Is there any basic tutorial to writing sockets in c#. I have looked around for a while and still have not found a in-depth tutorial about how to go doing it..
Any help is appreciated.
Posted

You should have a look at the Articles that CodeProject provides:
An Introduction to Socket Programming in .NET using C#[^]

An Asynchronous Socket Server and Client[^]

C# SocketAsyncEventArgs High Performance Socket Code[^]

Asynchronous Socket Communications Using the .NET Framework[^]

TCP/IP Chat Application Using C#[^]

C# Sockets and Serialization[^]

I suggest you try out one of these and play with them by creating a client and a server - best is always: "learnign by doing".
Enjoy coding!
 
Share this answer
 
It's all about reading documentations,

http://msdn.microsoft.com/en-us/library/system.net.sockets.socket.aspx[^]

workout the examples and read to revise.

Sockets in C#[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900