NetIncomingMessage Properties

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image

The NetIncomingMessage type exposes the following members.

Properties

  NameDescription
Public propertyData
Gets or sets the internal data buffer
(Inherited from NetBuffer.)
Public propertyDeliveryMethod
Gets the delivery method this message was sent with (if user data)
Public propertyLengthBits
Gets or sets the length of the used portion of the buffer in bits
(Inherited from NetBuffer.)
Public propertyLengthBytes
Gets or sets the length of the used portion of the buffer in bytes
(Inherited from NetBuffer.)
Public propertyMessageType
Gets the type of this incoming message
Public propertyPosition
Gets or sets the read position in the buffer, in bits (not bytes)
(Inherited from NetBuffer.)
Public propertyPositionInBytes
Gets the position in the buffer in bytes; note that the bits of the first returned byte may already have been read - check the Position property to make sure.
(Inherited from NetBuffer.)
Public propertyReceiveTime
What local time the message was received from the network
Public propertySenderConnection
NetConnection of sender, if any
Public propertySenderEndpoint
IPEndPoint of sender, if any
Public propertySequenceChannel
Gets the sequence channel this message was sent with (if user data)

See Also