Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

TheLameDuck

Getting an IP

This topic is 5480 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I don''t always have access to an internet connection, and so i can only rely on having dial up. This is a problem because, i can''t program multiplayer games on my machine without and IP address, and i don''t want to tie up the phoneline all the time. I have been using a router to get an IP address without connecting to the internet, but it had a change of hear and stopped working. Do i need to buy another router, which is really expensive, or can i use a hub or switch? Better yet, I''ve heard that you can just set your ethernet''s IP to whatever you want, and that will work, but I haven''t had any luck with that. Is that just a myth, or can i get It to work? Thanks a lot, Me

Share this post


Link to post
Share on other sites
Advertisement
i think you can ask for a non-dinamic ip, but in other case there are some sites that can retrieve the ip for you, or look in the computer for

Share this post


Link to post
Share on other sites
I wonder if localhost would work without having the dialup connected. That''s 127.0.0.1 and you should be able to set up a port and talk and listen but I don''t know if your OS will need you to be online or not.

-solo (my site)

Share this post


Link to post
Share on other sites
Yes, if you''re not on a public network, any IP will work.

However, you can use the reservered, private ranges, to avoid conflicts. The most common one people use is 192.168.0.0/16. Most subnet this further.

192.168.1.1 255.255.255.0 - 192.168.1.254 255.255.255.0

Int.

Share this post


Link to post
Share on other sites
Thanks for all your responses, but when i just set my IP, I still can''t connect through sockets or DPlay without an internet connection. Could someone please try connecting to their own computer''s ethernet card without an internet connection? thanks for all your help

Share this post


Link to post
Share on other sites
Oh, you mean without a local network? No wires or hubs?

Just use your loopback address.


127.0.0.1

Or if you want to start with a name and resolve, go for "localhost".

Int

Share this post


Link to post
Share on other sites
You can download something at www.ipmonster.com that will tell you what your current ip is if you need it.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!