wan ip | | |
Need to get my wan ip from my desktop application
any examples
TIA
Dave | | | | re: wan ip
Dave P wrote:[color=blue]
> Need to get my wan ip from my desktop application
> any examples[/color]
Post to the newsgroup that deals with your OS. There is no 'wan ip'
in C++ or its library.
V
--
Please remove capital As from my address when replying by mail | | | | re: wan ip
I know this..so what you all do here...play games
C++ is used too build operating systems, navigation systems, Networking,
so tell me smart man....nobody in here
has a example of writing a small piece of code too
grab a wan ip from the inernal wan
dave..
"Victor Bazarov" <v.Abazarov@comAcast.net> wrote in message
news:qQWRf.6227$a97.2381@newsread1.mlpsca01.us.to. verio.net...[color=blue]
> Dave P wrote:[color=green]
> > Need to get my wan ip from my desktop application
> > any examples[/color]
>
> Post to the newsgroup that deals with your OS. There is no 'wan ip'
> in C++ or its library.
>
> V
> --
> Please remove capital As from my address when replying by mail[/color] | | | | re: wan ip
Dave P wrote:
[color=blue]
> "Victor Bazarov" <v.Abazarov@comAcast.net> wrote in message
> news:qQWRf.6227$a97.2381@newsread1.mlpsca01.us.to. verio.net...[color=green]
>> Dave P wrote:[color=darkred]
>> > Need to get my wan ip from my desktop application
>> > any examples[/color]
>>
>> Post to the newsgroup that deals with your OS. There is no 'wan ip'
>> in C++ or its library.[/color]
>
> I know this..[/color]
If you know, why do you post here?
[color=blue]
> so what you all do here...play games[/color]
We discuss the C++ programming language as defined by the ISO standard.
[color=blue]
> C++ is used too build operating systems, navigation systems, Networking,[/color]
Indeed. And if you are looking for info on programming any of those systems,
you need to use system specific libraries that are off-topic here.
[color=blue]
> so tell me smart man....nobody in here
> has a example of writing a small piece of code too
> grab a wan ip from the inernal wan[/color]
No. | | | | re: wan ip
In message <5yWRf.744$4L1.402@newssvr11.news.prodigy.com>, Dave P
<dvs_bis@sbcglobal.net> writes[color=blue]
>Need to get my wan ip from my desktop application
>any examples
>[/color]
Phone IT Support, tell them your name and the barcode on your computer,
and they will tell you. Well, that's what I'd do.
Which is to say, standard C++ has no concept of a "wan ip", so you need
to use a platform-specific library and you'd do better to ask in a
newsgroup dedicated to your particular operating system.
--
Richard Herring | | | | re: wan ip
Dave P wrote:[color=blue]
> I know this..so what you all do here...play games[/color]
Here, we discuss C++ as defined by the ISO standard.
[color=blue]
> C++ is used too build operating systems, navigation systems, Networking,[/color]
Yes, and each one of those is different, and provide their own APIs for
things such as networking. Standard C++ does not have any networking
built in.
[color=blue]
> so tell me smart man....nobody in here
> has a example of writing a small piece of code too
> grab a wan ip from the inernal wan[/color]
Well, on my system this works:
#include <network>
using namespace network;
int main() {
address_t ip = get_external_ip();
}
but as already mentioned, this is OS specific, I doubt very much you
have the same system as I.
Ben Pope
--
I'm not just a number. To many, I'm known as a string... | | | | re: wan ip
Thank you Ben
dave
"Ben Pope" <benpope81_REMOVE_@gmail.com> wrote in message
news:44184450$0$3295$6d36acad@taz.nntpserver.com.. .[color=blue]
> Dave P wrote:[color=green]
> > I know this..so what you all do here...play games[/color]
>
> Here, we discuss C++ as defined by the ISO standard.
>[color=green]
> > C++ is used too build operating systems, navigation systems, Networking,[/color]
>
> Yes, and each one of those is different, and provide their own APIs for
> things such as networking. Standard C++ does not have any networking
> built in.
>[color=green]
> > so tell me smart man....nobody in here
> > has a example of writing a small piece of code too
> > grab a wan ip from the inernal wan[/color]
>
> Well, on my system this works:
>
> #include <network>
>
> using namespace network;
>
> int main() {
> address_t ip = get_external_ip();
> }
>
> but as already mentioned, this is OS specific, I doubt very much you
> have the same system as I.
>
> Ben Pope
> --
> I'm not just a number. To many, I'm known as a string...[/color] |  | | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 226,449 network members.
|