Esempio n. 1
0
 private void btnConnect_Click(object sender, EventArgs e)
 {
     push            = new PushClient(txtServerAddress.Text.Trim(), 8000, DATA_MODE.ASYNC, "Danis_C#_Test");
     push.OnStatus  += this.OnStatus;
     push.OnRcvData += this.OnReceiveData;
     push.Connect();
 }