NatPunchModuleInit Method |
Initializes the NAT punch module with a listener to handle punchthrough events.
Namespace: LiteNetLibAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic void Init(
INatPunchListener listener
)
Parameters
- listener INatPunchListener
- The listener implementation that will receive NAT events.
See Also