I am attempting to send a very simple packet of data over a TCP connection. My server never received the packet, so I connected Wireshark to see what was happening. Wireshark is reporting it as a "Malformed Packet" (packet 1625 of attached capture). I do not understand what is wrong with the data I am sending (or how I'm sending it).
tcpClient = new TcpClient(ipAddress, PORTNUMBER);
netStream = tcpClient.GetStream();
BinaryWriter packet = new BinaryWriter(new MemoryStream(sendBuffer));
netStream.Write(sendBuffer, 0, 16);