I need help in writing a function in C/C++ that receives two parameters: IP address and subnetmask.
The function needs to reutrn a list of all IP addresses that are in the associated network.
For example:
Given two parameters: IP address = 192.168.33.72 and mask = 255.255.255.192
the function will return a list that contain the IP's 192.168.33.65 to 192.168.33.126.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…