🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Port forwarding - NAT

#699
From: rogo
Date: Wed, 14 Nov 2007 06:55
15 lines
1528 bytes
I am using my laptop via wifi/router and a pc directly connected to the 
router, both have server programs on them but i have to setup them both 
manually via the router admin to allow outside connections to access each 
server. I want to do this automatically and i am under the unserstanding 
that its called port forwarding.

1) Can someone tell me if iphlpapi can be used for port forarding.
2) Is it only using the Upnp Api that i can accomplish this or is there 
other ways.
3) What would be BCB version of MS's CString


Thanks in advance.

P.S. i have MS code using Upnp but the stdafx just wont let me compile
Technical Details
Message-ID: <473a9bd8@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,6a4327219a1511f9,start
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "rogo" <gui@tesco.net>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Port forwarding - NAT
Date: Wed, 14 Nov 2007 06:55:23 -0000
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: 82.21.181.76
Message-ID: <473a9bd8@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1195023320 82.21.181.76 (13 Nov 2007 22:55:20 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail