Quote: Originally Posted by tao4229 I don't think inet_addr is compatible with DNS ips.(Correct me if im wrong) As far as I know, the client reads the IP from server.dat and then just straightly converts it to ulong from inet_addr. Edit:: I tried inet_addr on your DNS ip, and unless your IP is 255.255.255.255(I'm assuming thats some sort of error), it isn't compatible.