Class EventBasedNatPunchListener
Inheritance
System.Object
EventBasedNatPunchListener
Assembly: LiteNetLib.dll
Syntax
public class EventBasedNatPunchListener : INatPunchListener
Events
NatIntroductionRequest
Declaration
public event EventBasedNatPunchListener.OnNatIntroductionRequest NatIntroductionRequest
Event Type
Type |
Description |
LiteNetLib.EventBasedNatPunchListener.OnNatIntroductionRequest |
|
NatIntroductionSuccess
Declaration
public event EventBasedNatPunchListener.OnNatIntroductionSuccess NatIntroductionSuccess
Event Type
Type |
Description |
LiteNetLib.EventBasedNatPunchListener.OnNatIntroductionSuccess |
|
Explicit Interface Implementations
INatPunchListener.OnNatIntroductionRequest(IPEndPoint, IPEndPoint, String)
Declaration
void INatPunchListener.OnNatIntroductionRequest(IPEndPoint localEndPoint, IPEndPoint remoteEndPoint, string token)
Parameters
Type |
Name |
Description |
System.Net.IPEndPoint |
localEndPoint |
|
System.Net.IPEndPoint |
remoteEndPoint |
|
System.String |
token |
|
INatPunchListener.OnNatIntroductionSuccess(IPEndPoint, String)
Declaration
void INatPunchListener.OnNatIntroductionSuccess(IPEndPoint targetEndPoint, string token)
Parameters
Type |
Name |
Description |
System.Net.IPEndPoint |
targetEndPoint |
|
System.String |
token |
|
Implements