yes. You need to look up some info on System.Net.Sockets

planet source code has plenty of examples and pre-made classes in the .NET section