RB> I'm sending out a broadcast and then waiting for a response on the
RB> same socket. It is the broadcast call that is failing with the No
RB> route to host error. If I specify an address for the call to the
RB> server rather than using a broadcast, it works as expected.
RB>
RB> I find it most odd that it works in Warp 4 but not in WSeB. You'd
RB> think that they would have tested broadcast calls in the 4.1 TCP/IP
RB> stack.
I find it hard to believe that broadcast doesn't work, too. (-:
You've checked the basics, haven't you ? You've checked that you've
configured a broadcast address for that interface in TCP/IP configuration, for
example, yes ?
Try pausing the application after the call to bind() but before the call to
sendto() and using `netstat -s' to look at the socket address. Try sending an
ICMP datagram to the same broadcast IP address using `ping'.
¯ JdeBP ®
--- FleetStreet 1.22 NR
* Origin: JdeBP's point, using Squish (2:257/609.3)
|