Page 1 of 1

lib_xtcp change broadcast address ?

Posted: Sat Oct 15, 2016 5:42 pm
by damarco
Hello,

For a project with Artnet, the broadcast address must be changed. The XTCP responds correctly to 255.255.255.255 broadcast. For Artnet, however, additional addresses are required. Normally, the broadcast is formed by or from the netmask. This does not work with the XTCP this speaks only to the general broadcast 255.255.255.255 and not to 2.255.255.255.


The Artnet Node works for the first time but only with a Poll on 255.255.255.255 and not 2.255.255.255 or 10.255.255.255.

How to set or add broadcast addresses in XTCP ?

Re: lib_xtcp change broadcast address ?

Posted: Mon Oct 17, 2016 10:34 am
by larry
I don't think broadcasts and multicasts get a special treatment by xTCP before being passed to uIP, the underlying TCP/IP stack.

You might be able to change the broadcast IP (or MAC) address in uIP, although there is a good chance it will be hardcoded in a couple of places in uIP as well.