Article View: borland.public.cppbuilder.internet.socket
Article #5578Re: Accessing a TServerSocket based server application behind a router...
From: Hans Galema
Date: Wed, 14 Jul 2004 16:32
Date: Wed, 14 Jul 2004 16:32
15 lines
1762 bytes
1762 bytes
Kay wrote: > I use TClientSocket and TServerSocket components on my BCB applications to > build a simple client/server systems. > It works fine and Client and server talks to each other on my small LAN > behind my router. Computers attached to the router has 192.168.2.* adr. My > router is attached to a cable modem. How can I access my server application > from internet ? Your router has an internet ipaddress. The client on the internet should use the internet ipaddress of the router and the port your server is listening on. Then you should configure your router in such a way that it forwards that specific port. It should translate/forward messages for internetip:port to localip:port. This is also called NAT Netword Address Transslation. Hans.
Technical Details
Message-ID:
<40f55fde@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40f558a5$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,8dc49649cf3564d X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 14 Jul 2004 18:32:59 +0200 From: Hans Galema <dontusethis@dontusethis.nl> User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Accessing a TServerSocket based server application behind a router... References: <40f558a5$1@newsgroups.borland.com> In-Reply-To: <40f558a5$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.125.201.248 Message-ID: <40f55fde@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1089822686 129.125.201.248 (14 Jul 2004 09:31:26 -0700) Lines: 15 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail