Networking Section Index | Page 19
Why use UDP if it is unreliable?
Two reasons: speed and overhead. UDP packets have almost no overhead--you simply send them then forget about them. And they are fast, because there is no acknowledgement required for each pack...more
What is a Datagram?
Datagram is another name for a UDP packet. UDP is
discussed in more detail in the FAQ at
http://www.jguru.com/jguru/faq/view.jsp?EID=9472.
Java provides two classes for explicitly dealing
with...more
What is UDP and how does it work?
UDP stands for User Datagram Protocol.
UDP provides an unreliable packet delivery system built on top of the IP
protocol. As with IP, each packet is an individual, and is handled separately.
Bec...more
How does Java RMI differ from Jini?
Java RMI
Jini
RMI clients use the class Naming.Lookup() for locating the requested
RMI Service
Jini clients use the discovery process to locate Jini Lookup services.
Dis...more
How can I compress my data to save bandwidth when sending across a socket?
The GZIPInputStream and GZIPOutputStream classes found in the java.util.zip package compress data with the GZIP file format, as defined by RFC 1952 (ftp://ftp.uu.net/graphics/png/documents/zlib/zd...more
Where can I get Jini?
Jini is currently available only through Sun's Java Developer Connection
web site at http://developer.java.sun.com/developer/restricted/jini1_1/.
The JDC requires you to register (free). You will...more