Re: Quick Sockets Question
On Sat, 4 Dec 1999 10:02:42 -0600, Roderick Jackson <rjackson at CSIWEB.COM>
wrote:
>>mask. For example, if your subnet mask is 255.255.255.0 and your ip
>>address
>>is 100.100.100.100, the broadcast address is probably 100.100.100.255.
>
>Thanks. I don't suppose there's a way to determine this mask
>value through code? Getting the local address I can do...
>
Rod:
The subnet mask is 255.255.255.0 on most small networks this would be a
network containing 255 workstations. The subnet mask is used to block out
the upper part of the network address where ever a bit appears the
address that part of the address is blocked out. In the 255.255.255.0
only the lower 255 ( the zero ) are allowed to pass through the mask.
If you have a bigger network then second from the right would be a smaller
value digit. This saves the network software from having to decode the
whole address which would slow the network down.
Bernie
|
Not Categorized, Please Help
|
|