Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Determining my IP address from DBPro

Author
Message
smithoid
22
Years of Service
User Offline
Joined: 1st Feb 2003
Location:
Posted: 2nd Feb 2003 02:19
Hi,

I wonder if anyone can help... I have dial-up internet access with dynamic IP address alllocation. Is there some way that DBPro can report back what my IP address is for the current session? A DLL perhaps?

Cheers

smithoid
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 2nd Feb 2003 02:34
There is a TCP/UDT library at http://www.realgametools.net/forums - that might be able to help. Failing that ask toady.

NOBODY has a forum name as stupid as Darth Shader. I do.
heartbone
22
Years of Service
User Offline
Joined: 9th Nov 2002
Location:
Posted: 2nd Feb 2003 20:03
IanM posted this snippet on Jan 5th
It works.



The more you see, the more you know.
The more you know, the more you see.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 2nd Feb 2003 20:31
Whoo - fame at last! But it appears that I haven't given out the last function to complete the set.

What you have allows you to get any one of your machines IP addresses, but there is no way to find out how many IP addresses you do have.

Use this function - you'll see it's very similar to the GetLocalIP() function.

Login to post a reply

Server time is: 2025-05-17 18:26:40
Your offset time is: 2025-05-17 18:26:40