> No -1 is refused by most (if not all) routers. Normal because you then
> could do a broadcase along _all_ IP around the world..

Yup, just tested this. I had made a few console versions of the UDP demoes,
and couldn't get it working over localhost. I then later found out that the
GUI demoes didn't work either.

I thought it had to do with sp2 or so, but it turned to be this, if I
change 255.255.255.255 to 127.0.255.255 it works. (I use 172.50/16 for my
nic)

So I guess the only solution to do a real broadcast it to enumerate all
interfaces and compute the broadcast IP and do the broadcast itself
seperately.

I still wonder why 255.255.255.255 is allowed to the default route, but not
to loopback though. I would understand if it was the other way around :-)

BTW, Francois, I have working console udp demoes, but am struggling to have
udplstn terminate on a keystroke.

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to