|
-
Nov 12th, 2006, 11:12 PM
#1
Thread Starter
New Member
-
Nov 13th, 2006, 10:58 PM
#2
Re: vb6 winsock control with dynamic ip
 Originally Posted by mu_ds
1-i've tried to make a friend connect directly to a game server with services such as no-ip and dyndns...it doesnt seem to work  ....but giving my ip to him surely works.. is this only for http?? 
I've used No-IP before. Make sure you are running the No-IP client program, and have the box checked next to your DNS name.
2-ive thinking to make the main game server connect to a website and upload its ip and port, to say a text file or binary file.. so the client can
retrieve it... somehow this seems wrong to me?
Nothing wrong with this, as long as the server you're storing the file on doesn't go down or something.
This is usually the best way to do it. If you have to change your DNS name, you can just change the text file, and not have to update the game's code.
3-the third is decoding somehow the ip from say the no-ip server to retrieve my original ip and bang....but is this really necessary?
Not sure what you mean...
4-use some of these previouss steps like dl a file from a webserver that has an ip and it specifies if its to connect directly or get its ip from that server.. and also the port.
Sounds ok to me, but #2 would be easier.
5-is there a way to get a computer name on the internet?? i heard not..
Not sure what you mean.
-
Nov 16th, 2006, 05:38 PM
#3
Re: vb6 winsock control with dynamic ip
You cant get the computer name, and even if you could, you cant connect to a machine on the internet with only the computer name, you can only do that on your local network.
The best thing to do is get some web space and put a txt on there, have your app download the txt data which will be the IP.
Other than that, you can purchase a domain name, and then just have your app connect to that for example MyGame.com you can then change the IP that the domain directs to anytime you want
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|