Click or drag to resize

INatPunchListenerOnNatIntroductionSuccess Method

Called when NAT punchthrough is successful and a direct connection can be established.

Namespace: LiteNetLib
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
void OnNatIntroductionSuccess(
	IPEndPoint targetEndPoint,
	NatAddressType type,
	string token
)

Parameters

targetEndPoint  IPEndPoint
The resolved endpoint of the remote peer.
type  NatAddressType
The type of address (Internal or External) that succeeded.
token  String
Custom data token associated with the request.
See Also