NetManager Constructor (INetEventListener, String) |
LiteNetLib |
NetManager constructor with maxConnections = 1 (usable for client)
Namespace: LiteNetLib
Assembly: LiteNetLib (in LiteNetLib.dll) Version: 1.0.0.0
Syntax
C#
public NetManager( INetEventListener listener, string connectKey )
Parameters
- listener
- Type: LiteNetLibINetEventListener
Network events listener - connectKey
- Type: SystemString
Application key (must be same with remote host for establish connection)
See Also