"Rob Tillie" <Ro********@student.tul.edu> wrote in message
news:%2********************@TK2MSFTNGP12.phx.gbl.. .
Kewl !!!
But what happens if I use a raw TCP socket? Then I should take care
of the splitting?
I looked at the MSDN docs, but couldn't find any documentation about
this.
Remember, TCP is over IP. So the IP layer should take care of
creating legit IP packets while the TCP layer adds the proper
signaling. So what Jon said applies to sockets just as well as to
streams. There's no way for you to really know how/where to split the
data (without becoming an expert in TCP/IP, ethernet, ATM, DSL, etc.).
Just throw your bytes at the socket and they'll go. That's the beauty
of layers in a protocol.
mike