//发送数据 private bool rs_send(string ip, byte[] sendbuf) { ISocketRS rs = GetISocketRSlist(ip)._rs; _currentSocketRS = rs; try { _currentSocketRS.Send(sendbuf); return true; } catch { try { _currentSocketRS.Close(); } catch { } return false; } }