private bool Send() { if (_tcp != null && _tcp.State == SocketState.STATE_CONNECTED) { if (_tcp.Send(_sendStream.GetBuffer(), 0, (int)_sendStream.Length)) { return(true); } } return(false); }