If that is the address of one of your local machine interfaces then you can get the network mask (or prefix length) for that interface in the relevant QNetworkAddressEntry otherwise, as Wysota says, you cannot derive it.
Yes it is the address of my local machine interface,and i have used the class QnetworkAddressEntry to get both ip address and netmask.Prefix length is that i wanted,i used to call it number of network bits or netmask length and it is confusing me.
Thanks a lot..!
Bookmarks