|
-
September 14th, 2006, 03:31 AM
#1
How to get IP which is assigned by ISP
Dear IT friends,
How to get the IP address which is assinged by the ISP?
actually I am in the Network. we are using Router. ISP assinged IP will be assigned to the router. In this case I am creating one chat application like yahoo messenger. which IP address I have to sent coz ISP IP is in router but I have local IP... how to do that...
anyone please help me ASAP...
Thanks and Regards
Nagarajan
-
September 14th, 2006, 04:09 AM
#2
Re: How to get IP which is assigned by ISP
It's not visible for local computer, you need to take help of some remote computer which can get the IP of connected socket.
Following samples take advantage that technique,
http://www.codeproject.com/internet/getipnr.asp
http://www.planet-source-code.com/vb...36208&lngWId=1
Last edited by Krishnaa; September 14th, 2006 at 04:13 AM.
Regards,
Ramkrishna Pawar
-
September 14th, 2006, 05:44 AM
#3
Re: How to get IP which is assigned by ISP
 Originally Posted by Krishnaa
Thank you Krishnaa...
Do you have any vb.net coding for that....
if you r in LAN the external IP will be assigned to the router... then how to get my external address.. please explain this please....
nagarajan
-
September 19th, 2006, 11:11 AM
#4
Re: How to get IP which is assigned by ISP
 Originally Posted by alwaysnaga
Thank you Krishnaa...
Do you have any vb.net coding for that....
if you r in LAN the external IP will be assigned to the router... then how to get my external address.. please explain this please....
nagarajan
thats what is explained in the articles on those links. As I said earlier the technique is to use some remote interface (web interface etc.) to get you your external IP. The remote computers can read your external ip using getpeername on the socket which is connected bet. you and remote computer.
Regards,
Ramkrishna Pawar
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
|