private void OnSocketOpen(object sender, EventArgs e) { if (this.OnOpen != null) { this.OnOpen(this, e); } }