Click here to Skip to main content
12,452,056 members (63,367 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: .NET3.5 C# .NET .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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160826.1 | Last Updated 1 Oct 2012
Copyright © CodeProject, 1999-2016
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