Thanks very much xlsior, you've very interesting info here.
I still don't get the 'behind the scebe math' to calculate the broadcast IP though.
Because of that, I would make a loop from .1 to .255 (I mean the last triplet) and send an UDP message from within the program.
Then, when I get the UDP message, which has an IP address different from the one of the sender, that means that is the broadcast IP.
Perhaps is a bit more complicated than using the proper math; the problem is, how can we get the net mask from within Blitz ?
Sergio.
I still don't get the 'behind the scebe math' to calculate the broadcast IP though.
Because of that, I would make a loop from .1 to .255 (I mean the last triplet) and send an UDP message from within the program.
Then, when I get the UDP message, which has an IP address different from the one of the sender, that means that is the broadcast IP.
Perhaps is a bit more complicated than using the proper math; the problem is, how can we get the net mask from within Blitz ?
Sergio.