DatagramSocket.send

DatagramSocket.send

Class Overview | Class Members | This Package | All Packages

Syntax
public void send( DatagramPacket p ) throws IOException
Parameters
p
the DatagramPacket to be sent.
Description
Sends a datagram packet from this socket. The DatagramPacket includes information indicating the data to be sent, its length, the IP address of the remote host, and the port number on the remote host.

Exceptions
IOException if an I/O error occurs.
See Also
DatagramPacket