Click or drag to resize

NetEvent Fields

The NetEvent type exposes the following members.

Fields
 NameDescription
Public fieldChannelNumber The channel on which the packet was received.
Public fieldConnectionRequest Information about an incoming connection. Only valid when Type is ConnectionRequest.
Public fieldDataReader A reader for accessing the payload of received data, broadcast, or unconnected messages.
Public fieldDeliveryMethod The delivery method used for the received packet. Only valid when Type is Receive.
Public fieldDisconnectReason The reason for a peer's disconnection. Only valid when Type is Disconnect.
Public fieldErrorCode The specific socket error. Only valid when Type is Error.
Public fieldLatency The updated latency value in milliseconds. Only valid when Type is ConnectionLatencyUpdated.
Public fieldNext Reference to the next event in the pool or event queue.
Public fieldPeer The peer associated with this event. for unconnected events.
Public fieldRemoteEndPoint The remote endpoint (IP and Port) from which the event originated.
Public fieldType The type of network event that occurred.
Public fieldUserData Optional user data associated with a connection request or disconnect.
Top
See Also