LiteNetPeerSend(Byte, Int32, Int32, DeliveryMethod) Method |
Send data to peer (channel - 0)
Namespace: LiteNetLibAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic void Send(
byte[] data,
int start,
int length,
DeliveryMethod options
)
Parameters
- data Byte
- Data
- start Int32
- Start of data
- length Int32
- Length of data
- options DeliveryMethod
- Send options (reliable, unreliable, etc.)
Exceptions| Exception | Condition |
|---|
| TooBigPacketException |
If size exceeds maximum limit:
MTU - headerSize bytes for Unreliable
Fragment count exceeded ushort.MaxValue |
See Also