Click or drag to resize

LiteNetPeerGetMaxSinglePacketSize Method

Gets maximum size of packet that will be not fragmented.

Namespace: LiteNetLib
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public int GetMaxSinglePacketSize(
	DeliveryMethod options
)

Parameters

options  DeliveryMethod
Type of packet that you want send

Return Value

Int32
size in bytes
See Also