Re: Reliability of Java, sockets and TCP transmissions
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 06 Oct 2007 10:21:32 GMT
On Fri, 5 Oct 2007 23:52:19 +1000, "Qu0ll" <Qu0llSixFour@xxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :
So just how reliable are TCP and Java sockets over the actual internet?
If you look at the format of a TCP/IP packet you can get an idea.
see http://mindprod.com/jgloss/tcpip.html
TPC/IP packets have a 16 bit checksum. Any single bit error would give
you a different checksum. A multibit error has an 1 in 2^16 chance of
coming up with the valid checksum.
This is in addition to any packet-level checksums or hardware error
correction transparent to TCP/IP (e.g. error correcting modems).
The backbones now are fibre optic which very rarely get errors. The
problems comes from the rather wretched quality of the copper near
your end.
Perhaps someone knows of a tool to get the stats on the percentage of
packets getting through. The worse that number is the worse your
throughput and the greater your odds of an error sneaking through.
In my personal case they must be very rare. Nearly all my high volume
traffic is in ZIP files which have an additional checksum. I don't
see problems.
"But my tax return has to be correct. I submitted it with an
error-correcting modem."
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.
- References:
- Prev by Date: Re: Distributing java.policy with Applet.jar
- Next by Date: Re: Reliability of Java, sockets and TCP transmissions
- Previous by thread: Re: Reliability of Java, sockets and TCP transmissions
- Next by thread: Re: Reliability of Java, sockets and TCP transmissions
- Index(es):
Relevant Pages
|
|