How to send mavmessage via TCP socket?

I want to build relay server between drone and GCS…
I made simple socket server and client program using c#
The client read mavlink binary file on windows pc and send to the socket server…
It works well…

and I try to send message to mavproxy but i failed…
The mavproxy tcp address is 1270.0.01:5760.
but the client program that I made return ‘Connect failed 127.0.0.1:5760’ message…

what is the problem with me?
Isn’t it possible just send message to mavProxy via TCP??
Does it need any other setting??

Try using UDP instead.

hey even I am working on the same project, i wanted to create a connection b/w drone and GCS using ESP. can you help me with this connection thing?