'message' 事件


当有新的数据包被 socket 接收时, 'message' 事件会被触发。msgrinfo 会作为参数传递到该事件的处理函数中。

The 'message' event is emitted when a new datagram is available on a socket. The event handler function is passed two arguments: msg and rinfo.