On 7 Aug 2009, at 10:53am, liubin liu wrote:

> I want to use a integer to save the ip address of ipv4. Because they  
> all are
> 4 bytes.
>
> but it is better when the data type is unsigned int.

You may find it better just to store an IP number as a string, or as  
four integers.  Although it takes up more space you don't have to keep  
converting from one format to another.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to