Exemplo n.º 1
0
        protected override SDKConnection OnIncomingConnection(SDKAddress address)
        {
            MyServerConnection connection = new MyServerConnection(this);

            lock (ClientListLock)
            {
                ClientList.Add(connection);
            }
            return(connection);
        }
Exemplo n.º 2
0
 protected override SDKConnection OnP2PConnectionStart(SDKAddress address)
 {
     StartedP2PConnection = true;
     return new MyP2PClientConnection();
 }