Reliability of Java, sockets and TCP transmissions



I am writing client and server components of an application that communicate using Socket, ServerSocket and TCP. I would like to know just how reliable this connection/protocol combination is in terms of transmission errors. So far I have only been able to run the application where the client and server are on the same local machine or separated by an intranet/LAN so I have no results of an internet deployment to report but I have not encountered any IO errors to this point.

So just how reliable are TCP and Java sockets over the actual internet? I mean do I need to implement some kind of "advanced" protocol whereby check sums are transmitted along with packets and the packet retransmitted if the check sum is invalid or is all this handled by either the Java sockets or the TCP protocol already?

--
And loving it,

-Q
_________________________________________________
Qu0llSixFour@xxxxxxxxx
(Replace the "SixFour" with numbers to email me)

.



Relevant Pages

  • Re: Authenticated UDP
    ... i wasn't aware of SSL applied to anything except TCP ... server, and it also needs to service a separate set of HTTP requests. ... TCP sockets do tend to close quickly when closed normally. ... multiple packets that need tobe assembled by the protocol, ...
    (microsoft.public.win32.programmer.networks)
  • Re: open and close many TCP sockets in quick succession
    ... Modern TCP stacks can deal with 10000s of TIME_WAITs without ... SO_REUSEPORT to sockets that use those ports." ... At server side, there is the 'bind', the 'listen' and then the many ...
    (comp.unix.programmer)
  • Re: Multi-Threaded server which can handle UDP, TCP clients
    ... You would have different file descriptors for the TCP and UDP connection. ... need to create two sockets for both TCP and UDP in the server program? ...
    (comp.os.linux.networking)
  • Sockets bleiben offen
    ... hat jemand Erfahrungen mit Windows Sockets sammeln können? ... geschlossen und wieder freigegeben werden. ... TCP server:80 client:4699 TIME_WAIT ... Der Server soll auch unter WinNT und 9X laufen... ...
    (microsoft.public.de.vc)
  • Re: Banana Republic (was Re: OpenVMS Book Wins award)
    ... client ... No bollocks HTTP, SOAP, XML, Java, Garbage ... receive messages from any number of server processes who in turn could be ... Unlike TCP/IP and/or UDP Sockets with Java that have been around since ...
    (comp.os.vms)