Show / Hide Table of Contents

Interface INatPunchListener

Namespace: LiteNetLib
Assembly: LiteNetLib.dll
Syntax
public interface INatPunchListener

Methods

OnNatIntroductionRequest(IPEndPoint, IPEndPoint, String)

Declaration
void OnNatIntroductionRequest(IPEndPoint localEndPoint, IPEndPoint remoteEndPoint, string token)
Parameters
Type Name Description
System.Net.IPEndPoint localEndPoint
System.Net.IPEndPoint remoteEndPoint
System.String token

OnNatIntroductionSuccess(IPEndPoint, NatAddressType, String)

Declaration
void OnNatIntroductionSuccess(IPEndPoint targetEndPoint, NatAddressType type, string token)
Parameters
Type Name Description
System.Net.IPEndPoint targetEndPoint
NatAddressType type
System.String token
In This Article
Back to top Generated by DocFX