| Recommend this page to a friend! |
| Classes of Bas Jobsen | > | Storeip | > | Download .tar.gz .zip | > | > | > | |||||
|
| |||||||||||||||||||||||||||||||||||||||||||
| Detailed description | ||
| To Store ip-addresses in a database, you will need a field type of Char(15). This class let's you store the ipnumbers as an integer ( between -2139062144 and 2139062143) This class has two functions 1) decode ip->number 2) encode number->ip Both functions return false for empty or wrong ip-numbers While using this class you will spare typical 11 bytes for every ipnumber you store. Char(15) needs 15 Bytes SIGNED INT(10) needs 4 Bytes |
| Groups | ||
| Networking | Networking protocols, clients and servers | View top rated classes | |
| Databases | Database management, accessing and searching | View top rated classes |
| Applications | ||||||
No application links were specified for this class.
|
||||||||||||||||||||||||||||||||||||