$statistics
$statistics : array
Statistics for status command.
UdpConnection.
$statistics : array
Statistics for status command.
$onMessage : callable
Emitted when data is received.
$onClose : callable
Emitted when the other end of the socket sends a FIN packet.
$onError : callable
Emitted when an error occurs with connection.
$protocol : \Workerman\Protocols\ProtocolInterface
Application layer protocol.
The format is like this Workerman\Protocols\Http.
$transport : string
Transport layer protocol.
$_socket : resource
Udp socket.
$_remoteAddress : string
Remote address.