08-03-2007, 02:46 AM
Thank Gintaras.
but i has some question.
What function return IP ADDRESS ?
hock:
but i has some question.
What function return IP ADDRESS ?

How to get IP address of my computer
|
08-03-2007, 02:46 AM
Thank Gintaras.
but i has some question. What function return IP ADDRESS ? ![]()
08-03-2007, 07:27 AM
You can search the internet for source code that contains functions
gethostname gethostbyname Maybe some easier function also exist.
08-03-2007, 08:50 AM
so Sorry
I'm mean my computer IP ADDRESS.
08-03-2007, 08:57 AM
Yes, host is your computer, and IP that these functions return is like 123.456.789.123
08-03-2007, 09:16 AM
I can found.
int WINAPI2.gethostname($name namelen) *hostent WINAPI2.gethostbyname($name) What mean $name ? Name of computer name? :oops:
08-03-2007, 09:24 AM
Read about it in the MSDN library on the internet. I think it must be str variable, and the function populates it with your computer name. At first allocate namelen bytes.
Or go to a website that shows your computer IP. For example http://www.whatismyip.com/
08-03-2007, 09:51 AM
Function GetMyIpAddress
;/
08-04-2007, 06:30 AM
Thank you very much .Gintaras
![]() |
« Next Oldest | Next Newest »
|