Thanks Bill Doing this on OSX I didn't do the 'bind socket' step I'll add that and see if it works
Your help much appreciated! Dan VA3MA Ps - 1.7 alpha working great! > On Aug 18, 2016, at 5:30 PM, Bill Somerville <[email protected]> wrote: > >> On 18/08/2016 22:12, Dan - VA3MA wrote: >> I'm trying to write a small Python program to list the decoded contacts. >> >> It appears my Socket Client connects to WSJT-X >> But it just sits waiting to receive data... >> >> Is there data that My Client socket must send before the UDP server will >> send the contacts? >> >> Would appreciate any assistance in understanding this interface > > Hi Dan, > > UDP is a connectionless protocol (actually not quite true but with > WSJT-X it is). All you need to do is bind to the correct service port > (2237) and call recv() and you will get UDP packets. You must also > enable the broadcast of UDP packets from WSJT-X which is done by having > a non zero UDP port in the "Settings->Reporting" panel (again 2237 is > the default) and a valid IP address or host name in the server field > (127.0.0.1 is normal if you are receiving on the same machine). > > Note that unless you write your application as a multicast UDP client > then you must be the only application receiving on port 2237 so for > example you cannot share the data with JTAlert as only one application > will receive and consume the message packets. > > 73 > Bill > G4WJS. > > > ------------------------------------------------------------------------------ > _______________________________________________ > wsjt-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wsjt-devel ------------------------------------------------------------------------------ _______________________________________________ wsjt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wsjt-devel
