Constructs a datagram packet for sending packets of length
length
with offset
ioffset
to the
specified port number on the specified host.
Constructs a datagram packet for sending packets of length
length
with offset
ioffset
to the
specified port number on the specified host. The
length
argument must be less than or equal to
buf.length
.
Parameters:
-
buf - the packet data.
-
offset - the packet data offset.
-
length - the packet data length.
-
address - the destination address.
-
port - the destination port number.
Since:
1.2
See Also:
InetAddress
,