Class: DatagramPacket

vertx/datagram~ DatagramPacket

new DatagramPacket(packet)

A received UDP datagram packet, with the received data and sender information.
Parameters:
Name Type Description
packet external:DatagramPacket the Java delegate
Properties:
Name Type Description
sender object The sender of the packet
Properties
Name Type Description
host string The packet sender's host address
port number The packet sender's port number
data module:vertx/buffer The packet data that was sent
Source: