🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #4192

Re: detect router

#4192
From: Hans Galema
Date: Fri, 18 Mar 2005 10:40
13 lines
1683 bytes
roger wrote:
> I have i client app that logs onto an external website and if login is
> successfull returns user details and the real IP of the client back to the
> app(for use in other clients doing pc to pc), normally then the app would
> open its server using a specified port and the returned IP address as the
> server addr to use,

Why does your server need the internet ip-address ?
It could just start listening. And if you do bother
with listening on a specific addres then it should
use the local intranet address (given by the router).

Hans.
Technical Details
Message-ID: <423ab09b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!gail.ripco.com!tdsnet-transit!newspeer.tds.net!38.119.100.82.MISMATCH!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <423a7852$1@newsgroups.borland.com> <423a95b5$1@newsgroups.borland.com> <423aa0ca$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a79eaa4c33b47254
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 18 Mar 2005 11:40:36 +0100
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: detect router
References: <423a7852$1@newsgroups.borland.com> <423a95b5$1@newsgroups.borland.com> <423aa0ca$1@newsgroups.borland.com>
In-Reply-To: <423aa0ca$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <423ab09b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1111142555 129.125.201.248 (18 Mar 2005 02:42:35 -0800)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!gail.ripco.com!tdsnet-transit!newspeer.tds.net!38.119.100.82.MISMATCH!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail