This configures the transport layer settings for a client.
public bool Configure(ConnectionConfig config, int maxConnections) { HostTopology topology = new HostTopology(config, maxConnections); return this.Configure(topology); }
void Awake() { myClient = new NetworkClient (); ConnectionConfig config = new ConnectionConfig (); config.AddChannel (QosType.ReliableFragmented); myClient.Configure (config, 1); myClient.Connect (IP, 7777); myClient.RegisterHandler (MyMsgType.Info, OnInfoMessage); }