 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Joe Wuang Guest
|
Posted: Tue Nov 23, 2004 12:39 pm Post subject: How to implement "AND" operation between IP and Subnet Mask? |
|
|
i converted a pair of IP and Subnet Mask(192.168.0.1 and 255.255.255.0) to
TIdInAddr structure, then
InAddr_IP.S_un_b.s_b1 AND InAddr_Mask.S_un_b.s_b1
....
then combine the results to a new IP.
is it correct? is there API or function in Indy i can use?
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|