Article View: borland.public.cppbuilder.internet.socket
Article #2460Re: Establish connection with a subnetwork computer/server
From: qyte
Date: Fri, 14 Apr 2006 10:49
Date: Fri, 14 Apr 2006 10:49
33 lines
2391 bytes
2391 bytes
Hans Galema wrote: > qyte wrote: >> How can i find out out the exact IP address of my subnetwok computer? > > Use ipconfig in a console window. > >> The only IP which i can see is of the server computer. > > From where do you see that ? Where is the servercomputer ? On the > internet ? > >> The problem i have is that i cannot run an application on my >> subnetwork computer as a server because i don't know its IP address. > > This is all very unclear for me. You can let a serverapplication run on > any computer. The question then of course is if that servercomputer is > reachable for clientapplications on other computers. > > Please tell more exact how your configuration is. Is your serverapplication > on a LAN computer and will clientapplications on the internet contact > through > the IP of a router ? > Maybe i was a little bit unclear. Let's say that i built a server app and i run it on a computer that runs inside a network but is NOT the server computer. What is the ip i need to use in order to run a client app from outside that network so that i can connect to that single computer. When i test my ip from inside the network computer it gives me the one the server of the network has on the internet, it seems that all computers on the network have the same IP. How can i determine the ip from within my server app given the fact that i know ONLY what the network's IP is?
Technical Details
Message-ID:
<443f7e47$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<443f6520$1@newsgroups.borland.com> <443f6e95$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,571973ab05567242 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Fri, 14 Apr 2006 13:49:42 +0300 From: qyte <gyte@vivodinet.gr> User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Establish connection with a subnetwork computer/server References: <443f6520$1@newsgroups.borland.com> <443f6e95$1@newsgroups.borland.com> In-Reply-To: <443f6e95$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 88.218.20.54 Message-ID: <443f7e47$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1145011783 88.218.20.54 (14 Apr 2006 03:49:43 -0700) Lines: 33 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail