News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

IP Infos

Started by Grincheux, July 17, 2008, 08:27:59 PM

Previous topic - Next topic

Grincheux

I would like to get some infos about my IP address like with this link : http://www.codeproject.com/KB/ajax/WhosOnlineAspNet.aspx

I would like to get my ISP address too like http://www.adresseip.com/

Which are the functions the functions to call ? It is not possible to get this infos with WinSock !

At home and at work I use a router (OVISLINK at home and NETGEAR at work). Is the returned IP address is the router address ?

Can someone help me ? I am not a pirate !
Kenavo

Grincheux
_____________________________________________________
http://www.phrio.biz

Vortex

Here is an example coded with Pelles C :

Get public IP with winsock

Grincheux

Thanks Vortex :clap:, I found similar info at http://69.10.233.10/KB/IP/TracertMap.aspx.

If I remember, the first byte of an IP address gives the country ?

If a website can give these info, it must call a function to get the result ? They are not only unix website, so there is one site under windows that catches this info ! How do they do ? :red
Kenavo

Grincheux
_____________________________________________________
http://www.phrio.biz

Grincheux

Kenavo

Grincheux
_____________________________________________________
http://www.phrio.biz

Farabi

 :U I imagine if I can modify my laptop software so I will not lost my laptop anymore.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

Grincheux

With all these remarks I made a small program that gives the same infos as IPCONFIG.

It can be downloaded at : http://www.idcat39.com/download/Bin/IP.exe

Into this file you get the asm source file too.
Kenavo

Grincheux
_____________________________________________________
http://www.phrio.biz

Farabi

Quote from: Grincheux on August 01, 2008, 06:33:47 PM
With all these remarks I made a small program that gives the same infos as IPCONFIG.

It can be downloaded at : http://www.idcat39.com/download/Bin/IP.exe

Into this file you get the asm source file too.

Cool  :U
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"