StartServer() public method

Method that starts TCP/IP Server.
public StartServer ( ) : void
return void
Example #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            // init ip socket server
            //IPAddress ip = IPAddress.Parse("192.168.2.3");
            _sockServer = new TCPServer(8082);
            _udpServer  = new UDPServer();


            _udpServer.StartServer();
            _sockServer.StartServer();
            timer1.Enabled = true;
        }
Example #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            // init ip socket server
            //IPAddress ip = IPAddress.Parse("192.168.2.3");
            _sockServer = new TCPServer(8082);
            _udpServer = new UDPServer();

            _udpServer.StartServer();
            _sockServer.StartServer();
            timer1.Enabled = true;
        }