|
From: Ed S. <w1...@co...> - 2019-03-26 19:55:35
|
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? ============= Language = Xojo (https://www.xojo.com) Source code: Sub DataAvailable() Dim d As DataGram Dim mb1, mb As MemoryBlock d = UDPSocket1.Read mb = d.Data if mb <> NIL Then mb1 = mb mb1.LittleEndian = False end Update( mb1 ) End Sub ============== Debugger value for DataGram > On Mar 26, 2019, at 11:47 AM, Bill Somerville <g4...@cl...> wrote: > > On 26/03/2019 18:09, Ed Stokes wrote: >> I have formatted the clear message (type 3) and sent it to port 2237 but nothing happens. > > Hi Ed, > > that's not correct, you are effectively sending to yourself. You need to send replies to the address and port of the original sender. When you receive a datagram from a WSJT-X instance you can get the sender address and sender port, that is the correct address and port to reply to. > > What is your code to receive a datagram on the 2237 port you have bound to? > > 73 > Bill > G4WJS. > > > > _______________________________________________ > wsjt-devel mailing list > wsj...@li... > https://lists.sourceforge.net/lists/listinfo/wsjt-devel |