What's the difference between using ProtocolType.IP and ProtocolType.Tcp

Posted by Sekhat on Stack Overflow See other posts from Stack Overflow or by Sekhat
Published on 2010-03-17T10:32:58Z Indexed on 2010/03/17 11:01 UTC
Read the original article Hit count: 177

Filed under:
|
|

I've just answered problem with sockets in c# where in my example code I initializing my socket using ProtocolType.IP as this is what I've always used in my own code, and it has never caused me problems. But I see many examples specifying ProtocolType.Tcp.

I guess, what I'm asking is, by using ProtocolType.IP instead of ProtocolType.Tcp is anything being performed differently under the hood that I should be aware of?

© Stack Overflow or respective owner

Related posts about sockets

Related posts about c#