network programming - What is a higher reliability protocol than TCP? -


i know tcp has 16-bit checksum, catch errors in transmission. tcp outputs on other end theoretically reliable... point.

this article suggests tcp not reliable 1 might hope if after "high reliability": http://iang.org/ssl/reliable_connections_are_not.html#ref_6

are there readily available protocols, or transport libraries (c/c++ preferred), more reliable tcp? speed of moderate concern too.

i imagine transport library reimplementation of of parts of tcp.

it shame tcp isn't more flexible allow tradeoff more reliability @ cost of throughput/latency/speed. lot more reliability if made checksum 32-bit instead of 16-bit. , again if chose make 64-bit. there seems big cost adding own reliable transport layer on top of tcp: starters, hardware acceleration support processing tcp won't suffice, , you'll need provide of cpu time process layer. additionally, lot of complexity , code implement such thing, have been avoided if tcp checksum larger or selectable.

tls

widely deployed, understood, plenty of libraries available in commonly used languages.

if 'reliability' understand better chance detect stream alteration (bad hardware or malicious interference) cryptographic hmac the way go. , tls pretty industry standard.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - How to Hide Date Menu from Datepicker in yii2 -