public bool Send(object obj) { try { streamSync.WriteUpdate(obj); connectionStream.Flush(); } catch(System.IO.IOException e) { return false; } return true; }