INatPunchListenerOnNatIntroductionSuccess Method |
Called when NAT punchthrough is successful and a direct connection can be established.
Namespace: LiteNetLibAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxvoid 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