Quote:
Originally Posted by BAILOPAN
No. Valve's 64-bit port died a long time ago, and like none of the past 5 releases were 64-bit... and there's no 64-bit downloads available... so why even ask that question?
|
For example record of IP-addresses as numbers on databases (MySQL):
Code:
ip_to_num(const IP[16] = "255.255.255.255")
{
new NumIP[4], Data[4][4], TempIP[16];
copy(TempIP, 15, IP);
replace_all(TempIP, 15, ".", " ");
if (parse(TempIP, Data[0], 3, Data[1], 3, Data[2], 3, Data[3], 3) < 4)
return -1;
for (new i; i < 4; ++i)
NumIP[i] = str_to_num(Data[i]);
return (NumIP[0] << 24) + (NumIP[1] << 16) + (NumIP[2] << 8) + NumIP[3];
}
In the total: 255.255.255.255 = 4294967295
But in 32-bit it will be so: 255.255.255.255 = -2147483648
And query on will not send databases number 4294967295.