On 26/03/2019 19:54, Ed Stokes wrote:
OK… I think I get it now.

I am using 127.0.0.1 and port 61880 shows up in my debugger when I look at the datagram.

Is this the IP and port to which I should send the message?

Hi Ed,

yes, that is correct. The Address and Port properties of the Datagram object you get from UDPSocket.Read are the address and port of the sender and that's what you should set in the reply Datagram (same two properties) to route it back to the right WSJT-X instance.

Your first code sample was using the wrong UDPSocket.Write function, you need the one that takes a Datagram type argument and you supply that with the Address, Data, and Port properties set as above.

73
Bill
G4WJS.



_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to