Exemplo n.º 1
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     EndPoint point = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 2254);
     client = new Client.IMClient(point);
     client.Connected += client_Connected;
     client.DataReceived += client_DataReceived;
     client.Connect();
 }
Exemplo n.º 2
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            EndPoint point = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 2254);

            client               = new Client.IMClient(point);
            client.Connected    += client_Connected;
            client.DataReceived += client_DataReceived;
            client.Connect();
        }