Geeks With Blogs
Stephanie Grima C#, ASP.NET and my life.

TCP networking technology in a Chat Application 

TCP technology will allow the communication between a server and a client and vice versa, through the use of serializing an object over a network, such as the Internet.

The advantage to using TCP over Socket programming is that TCP performs a great deal of functions transparently, such as acknowledging the receipt of data packets, retransmitting lost packets etc.
The disadvantage to using TCP over Socket programming is that Sockets are a great deal faster due to no packet overheads. Since TCP is a far more reliable protocol, it exchanges a higher number of packets over the network in order to ensure that data arrives at it's destination intact. Since Socket programming does not include this overhead, less data is being sent over the network, and hence is faster.
Posted on Tuesday, October 21, 2008 8:27 AM My Opinions , C# | Back to top

Comments on this post: TCP networking technology in a Chat Application

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Steffi | Powered by: