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. How to create a data of unsigned int? 1334 1335 // tcp->gate_addr[0]是地址的高8位 1336 for ( i=0, m=1; i<4; i++, m*=0x100 ) 1337 gateaddr = gateaddr + tcp->gate_addr[3-i] * m; 1338 -- View this message in context: http://www.nabble.com/How-to-create-a-data-of-unsigned-int--tp24861945p24861945.html Sent from the SQLite mailing list archive at Nabble.com. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users