TCP/IP Reliable Enough?
-
As far as byte ordering is concerned, everything is fine. I'm worried that the error checking capabilities are somewhat deficient: a 16-bit checksum for the IP layer, and another one for the TCP layer. I believe this might cause occasional kinks for a high throughput server, but is it worth the complexity of adding error-checking to the application layer?
ROFLOLMFAO
-
As far as byte ordering is concerned, everything is fine. I'm worried that the error checking capabilities are somewhat deficient: a 16-bit checksum for the IP layer, and another one for the TCP layer. I believe this might cause occasional kinks for a high throughput server, but is it worth the complexity of adding error-checking to the application layer?
ROFLOLMFAO
Not really. What would you do with the error in this extra layer?? You would probably just handle it the same way as you would for an invalid message anyway - request a resend of the message. So why put the processor through the extra work of generating yet another check value?
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007