Register for your free account! | Forgot your password?

You last visited: Today at 14:55

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Help with dns ip.

Discussion on Help with dns ip. within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2007
Posts: 165
Received Thanks: 426
Help with dns ip.

Ok, well for some reason when I use my dyndns ip it just closes out the client.

joeroket.dyndns.org is my ip.

I'm using PowerSource, AppServ Open Project - 2.6.0 for Windows and Client 5017 with CIDLoader.


If any one knows what the problem is please tell me.
playboy94 is offline  
Old 01/16/2009, 04:14   #2
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
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.
tao4229 is offline  
Old 01/16/2009, 07:27   #3
 
elite*gold: 0
Join Date: Aug 2007
Posts: 165
Received Thanks: 426
Quote:
Originally Posted by tao4229 View Post
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.
Hmm, is there a way to make it some thing different then a DNS IP?
playboy94 is offline  
Old 01/16/2009, 08:05   #4
 
andyd123's Avatar
 
elite*gold: 20
Join Date: Apr 2006
Posts: 1,341
Received Thanks: 886
255.255.255.255 is a subnet, look it up on wikipedia if you wanna know what they are.

The ip you are looking for would be the one listed on whatsmyip.org, change your dyndns to be set to that ip and you should be alright.
andyd123 is offline  
Old 01/16/2009, 12:09   #5
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
lol. inet_addr() converts a string, such as "127.0.0.1" into an IP, which is an integer. 0x7F000001

What you have isn't an IP, it's a domain name. To get the IP for that domain, you need to call getaddrinfo() (or gethostbyname()).
unknownone is offline  
Reply




All times are GMT +2. The time now is 14:55.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.