Sending TCP packets to a device

See here what I did to receive from netcat, you can use it as a send command