Article View: borland.public.cppbuilder.internet.socket
Article #1794Re: How to check my IP
From: Hans Galema
Date: Sat, 28 Oct 2006 20:46
Date: Sat, 28 Oct 2006 20:46
20 lines
1758 bytes
1758 bytes
Marcin_g wrote: > I write simple server (ServerSocket component in BCB6.0) application and I would like to check my IP address and/or internet connection accesibility. How to make this? On the server computer start a browser and go to http://whatismyip.com or http://checkip.dyndns.org This will tell you your internet-ip. Start your server listening on some port. Now start a client on a machine somewhere on the internet and let it connect to your internet-ip and the port your server is listening on. If there is a connection you are ready. Otherwise - if you have a router- you first have to adjust your router in such a way that it forwards request on that specific port to your servercomputer on its intern-ip (or lan-ip). Hans.
Technical Details
Message-ID:
<4543c1e8@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4543afc2$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,5680ee52ab0838a6 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Sat, 28 Oct 2006 22:46:20 +0200 From: Hans Galema <notused@notused.nl> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: How to check my IP References: <4543afc2$1@newsgroups.borland.com> In-Reply-To: <4543afc2$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 145.98.201.248 Message-ID: <4543c1e8@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1162068456 145.98.201.248 (28 Oct 2006 13:47:36 -0700) Lines: 20 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail