🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: detect router

#4196
From: roger
Date: Fri, 18 Mar 2005 16:44
52 lines
3025 bytes
Well my questions might seems a little "routers for dummies" to you, but i
have own my first router now for just over 48hrs.. maybe that might explain
the lack of knowledge and why i am trying to gain some..

So what your saying then is when i tell the server to open on port say 10245
i dont have to specify ie:
My Internet IP, or 0.0.0.0 or my Router assigned IP, as long as his remote
client makes a call to http://myinternetIP:MyPort then the server will
detect it..even if i am not using a router...and even if my internet ip is
say 62.63.64.65 and the server opens on 0.0.0.0..


additional answer:
>Ok. So your serverapp is on the same computer as your site ?
NO server app is on my PC, and joes PC ,each app is a client and server, the
site is an internet site elsewhere on the web..


"Hans Galema" <notused@notused.nl> wrote in message
news:423ada46$1@newsgroups.borland.com...
> roger wrote:
> > Because mr joe on 62.x.x.x who after searching my site and finding that
i
> > have what he wants ,gets a search result showing that my real ip is the
pc
> > he needs to connect too is 82.x.x.x:1010
>
> Ok. So your serverapp is on the same computer as your site ?
>
> > so if i am using a router and the router accepts the incoming call for
the
> > realip i can either have the server port diversion in the router admin
> > pointing to the correct PC on my lan.
>
> Or ? ( That is an imcomplete sentence for me. Either this or that ).
>
> > if i am not using a router etc then mr joe can connect directly to my
realip
> > where the server would be listening on the port assigned.
>
> Of course you have to configure your router so that it forwards requests
> on the port that your server is listening on to the pc where your server
> is running on.
>
> >>Why does your server need the internet ip-address ?
> >>It could just start listening.
>
> You did not react on this comment. Your server app
> does not have to know your internet-ip for the sake
> of listening.
>
> Hans.
Technical Details
Message-ID: <423b0576$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <423a7852$1@newsgroups.borland.com> <423a95b5$1@newsgroups.borland.com> <423aa0ca$1@newsgroups.borland.com> <423ab09b@newsgroups.borland.com> <423ac0ff@newsgroups.borland.com> <423ada46$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
From: "roger" <rogersmail@ntlworld.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <423a7852$1@newsgroups.borland.com> <423a95b5$1@newsgroups.borland.com> <423aa0ca$1@newsgroups.borland.com> <423ab09b@newsgroups.borland.com> <423ac0ff@newsgroups.borland.com> <423ada46$1@newsgroups.borland.com>
Subject: Re: detect router
Date: Fri, 18 Mar 2005 16:44:53 -0000
Lines: 54
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2739.300
NNTP-Posting-Host: 81.103.69.118
Message-ID: <423b0576$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1111164278 81.103.69.118 (18 Mar 2005 08:44:38 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail