NetPeer.GetMaxSinglePacketSize Method

LiteNetLib

NetPeerGetMaxSinglePacketSize Method

LiteNetLib
Gets maximum size of packet that will be not fragmented.

Namespace:  LiteNetLib
Assembly:  LiteNetLib (in LiteNetLib.dll) Version: 1.0.0.0
Syntax

C#
public int GetMaxSinglePacketSize(
	SendOptions options
)

Parameters

options
Type: LiteNetLibSendOptions
Type of packet that you want send

Return Value

Type: Int32
size in bytes
See Also

Reference