Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: .NET3.5 C# .NET4
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 30-Sep-12 16:29pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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!
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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#[^]
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 881
1 OriginalGriff 335
2 CPallini 225
3 Volynsky Alex 205
4 Richard Deeming 175
0 OriginalGriff 5,540
1 Sergey Alexandrovich Kryukov 4,668
2 CPallini 4,540
3 George Jonsson 3,102
4 Gihan Liyanage 2,445


Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 1 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100