TcpClient client = new TcpClient();
client.Connect(new IPEndPoint(ipAddress, Port));
NetworkStream stream = client.GetStream();
byte[] bLength = new byte[4];
stream.Read(bLength, 0, 4);
int length = BitConverter.ToInt32(bLength, 0);
if (length > 0)
{
byte[] data = new byte[length];
stream.Read(data, 0, length);
ObservableCollection<Pendencias> message = (ObservableCollection<Pendencias>)