Java Reference
In-Depth Information
+
, and all other characters are represented by their lower 8 bits in hex
preceded by a
%
.
The
File.toURL
method creates a file
URL
for the path specified by that
File
object.
You can create
DatagramSocket
objects for sockets that send and receive
DatagramPacket
objects, which contain an array of bytes. Datagrams are
a connectionless packet delivery service, in which packets are individu-
ally addressed and routed and could be received in any order. With the
MulticastSocket
subclass of
DatagramSocket
, you can set up a socket that
can send and receive packets to and from multiple addresses.