public void Send(string data) { try { if (s != null && s.Connected) { s.Send(System.Text.Encoding.Default.GetBytes(data + "|")); } } catch { } }