Example #1
0
 void init(int port, string address)
 {
     s = new MySocket(address, port);
     s.Connect();
 }
Example #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            MySocket s = new MySocket(ServerIPTxt.Text.ToString());

            s.Connect();
        }