This topic is now archived and is closed to further replies.

C# Network Programming

This topic is 5271 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Anyone know any good books on network programming in C#. Also what would I learn from it, I mean would I like be able to create a MSN style program once i''d learnt it? You may be thinking why I want to learn network programming when I don''t even know what its really about, well, I learnt all the windows form functions and printing, custom controls etc... and some ADO/ASP, and I simply want something to learn to keep me from going bored. I''d also love to be able to create a chat proggy too.

Share this post

Link to post
Share on other sites
.NET makes network programming incredibly easy.

Make sure you focus on the following classes:

Encoding.ASCII (for converting strings to a byte buffer)
byte arrays (learn the Array class emthods too.)

For the best performance, use the asynchronous BeginXXX methods (like BeginReceive/BeginSend etc.) Internally, those functions use the Win32 I/O completion model.

Have fun.

Share this post

Link to post
Share on other sites