NetPeer Methods

LiteNetLib

NetPeer Methods

LiteNetLib

The NetPeer type exposes the following members.

Methods

  NameDescription
Public methodFlush
Flush all queued packets
Public methodGetMaxSinglePacketSize
Gets maximum size of packet that will be not fragmented.
Public methodSend(Byte, SendOptions)
Send data to peer
Public methodSend(NetDataWriter, SendOptions)
Send data to peer
Public methodSend(Byte, Int32, Int32, SendOptions)
Send data to peer
Top
See Also

Reference