Exemplo n.º 1
0
        public void createSocket(ClientTerminal c)
        {
            string    szIPSelected    = ServerHost2.Text;
            string    szPort          = txtPort2.Text;
            int       alPort          = Convert.ToInt16(szPort, 10);
            IPAddress remoteIPAddress = IPAddress.Parse(szIPSelected);

            c.createSocket(remoteIPAddress, alPort);
        }