Hi Saku,
RR, it is not difficult to implement. The main problem has been code
written with ancient programming languages and scripting tools (VB6 and
AutoIt to name two) that have no support for joining multicast groups.
In both cases it should have been possible to call the underlying Win32
API functions but that has not happened :(
Also note that traffic back to the clients (WSJT-X) is still unicast and
addressed to sender address of individual WSJT-X clients, there is no
multicast in that direction.
73
Bill
G4WJS.
On 30/07/2020 13:53, Saku wrote:
Hi Bill!
Ahh..! Again new discovery... udp_daemon. ft8sim was also quite handy
when I discovered it some time ago. It just does not come with package
installs, but self compile makes it.
Just made a listener with perl and learned in hard way that REUSEADDR
is needed. My listener is just a raw dump without decode, so
udp_daemon looks better.
Anyway now I have wsjt-x on 20m and I have monitor results at same
time to cqrlog, to udp_daemon and to my perl listener. Looks like
working.
I use also qso initiate and color commands from cqrlog monitor to
wsjtx. They worked with only cqrlog in multicast group, and I can not
see any reason why they would not work when several listeners are online.
Still have to work some qsos to be sure all is ok. (this was too easy
to modify :-O )
Bill Somerville kirjoitti 30.7.2020 klo 14.59:
Hi Saku,
that's no problem, use message_aggregator in the WSJT-X distribution.
There is also a small command line utility udp_daemon. Neither do
anything in particular as they are to demonstrate WSJT-X UDP Message
Protocol facilities. Both support multicast group addressing.
There are only a couple of minor gotchas with multicast. If you wish
to run multiple servers on the same network interface you must set
the SO_REUSEADDR socket option, and if you try and join an IPv4
multicast group you must bind to your listening socket for IPv4 only,
i.e. you can't bind to the dual-stack ANY address, so usually you
bind to "0.0.0.0" in that case. To join an IPv6 multicast group there
is no such restriction and there you would normally either bind to
the dual-stack ANY address, or for IPv6 only use the IPv6 ANY address
"::"
73
Bill
G4WJS.
--
Saku
OH1KH
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel