I just came across this really cool open source socket library for .net, mono, and Delphi called
Indy.Sockets. I've been looking for an easier way to work with telnet, pop, and others without having to pay for an expensive solution like
IPWorks, and Indy.Sockets appears to cover all of those needs and then some. The only minor issue I've run into so far, is that all the source and examples are written in Delphi. Its not too hard to muddle my way through the syntax, but Delphi is no C#. A great way to work around that, just to view the code, is to open the compiled assembly with
Reflector and have it decompile the IL to C# for you...and, since I have no need to modify the source anytime soon, that method works quite well for now. I've also come across a few articles and demo projects written in C# over at
Code Project and
Atozed Software if your interested in checking it out.