TCP Message Framework

// December 2nd, 2010 // Useful Code


TCP Message Framework is a simple framework built to make transport of TCP messages via C# a little easier. I have devised a method of sending messages and unpacking them on the other side that requires no additional coding to handle any new message type a programmer might come up with. Need to create a keep-alive packet. Simply inherit the message class, write the server side and client side code and you are done. The transport and unwrapping of the message is all handled by the framework.

I used a very similar method when writing my instant messenger client/server. There is some overhead but when weighed out against it’s simplcity its very minimal. If you would like you can download the entire sample project or view the code through this website.

Download Sample ProjectView Code

Be Sociable, Share!
  • RSS
  • Twitter
  • Facebook
  • LinkedIn
  • DeviantArt