Beispiel #1
0
        public void Listen(int port)
        {
            if (ServerSocket != null)
            {
                throw new Exception("Socket already running!");
            }

            ServerSocket = ServerSocketBuilder.Build();
            ServerSocket.listen(port);
        }