NetManager Constructor (INetEventListener, Int32, String) |
LiteNetLib |
NetManager constructor
Namespace: LiteNetLib
Assembly: LiteNetLib (in LiteNetLib.dll) Version: 1.0.0.0
Syntax
C#
public NetManager( INetEventListener listener, int maxConnections, string connectKey )
Parameters
- listener
- Type: LiteNetLibINetEventListener
Network events listener - maxConnections
- Type: SystemInt32
Maximum connections (incoming and outcoming) - connectKey
- Type: SystemString
Application key (must be same with remote host for establish connection)
See Also