c++builder - Indy > BroadCast to 172.30.58.255 fail -
my environment:
c++ builder xe4 indy 10.5.8.3 i trying broadcast network 172.30.58.x subnet mask 255.255.255.0.
using tidudpclient, tried following resulting in fail (no response).
// case1 idudpclient1->broadcastenabled = true; idudpclient1->broadcast(cmd, port, l"172.30.58.255"); instead, following works, unlimited network (also including other 172.30.58.xxx)
// case2 idudpclient1->broadcastenabled = true; idudpclient1->broadcast(cmd, port, l"255.255.255.255"); with indy, how can broadcast 172.30.58.xxx?
before doing accesses tidudpclient.binding property (such broadcast(), connect()/active, send/receivebuffer(), etc), set tidudpclient.boundip property local ip connected 172.30.58.xxx network.