I want to send a TCP packet (with a custom header) in C#. The building of such packets is no problem, and I have the data in a byte array. But how can I send this packet ove
Are you attempting to send a TCP packet or a UDP packet? If you want to send a TCP packet you need to Connect() to your the remote end point before you attempt to send the packet.