예제 #1
0
        private void ConfigureSockets()
        {
            serverSocket             = new Connection_Mgr();
            serverSocket.Port        = PortNumber;
            serverSocket.SktEncoding = Encoding.Default;

            serverSocket.ConnectionAccepted += serverSocket_ConnectionAccepted;
            serverSocket.Closed             += serverSocket_Closed;
            serverSocket.MsgReceived        += serverSocket_MsgReceived;

            IsListening = false;
        }
예제 #2
0
        private void ConfigureSockets()
        {
            serverSocket = new Connection_Mgr();
            serverSocket.Port = PortNumber;
            serverSocket.SktEncoding = Encoding.Default;

            serverSocket.ConnectionAccepted += serverSocket_ConnectionAccepted;
            serverSocket.Closed += serverSocket_Closed;
            serverSocket.MsgReceived += serverSocket_MsgReceived;

            IsListening = false;
        }