Click here to Skip to main content
15,902,114 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I’m trying to figure out a way to store my data in an clever way Pin
Blake V. Miller8-Jul-05 16:54
Blake V. Miller8-Jul-05 16:54 
Generalcommunicating with the phone Pin
mpsundar8-Jul-05 1:16
mpsundar8-Jul-05 1:16 
GeneralRe: communicating with the phone Pin
ThatsAlok8-Jul-05 20:23
ThatsAlok8-Jul-05 20:23 
QuestionHow to Get Public IP Address Pin
Member 1256658-Jul-05 0:44
Member 1256658-Jul-05 0:44 
AnswerRe: How to Get Public IP Address Pin
Alexander M.,8-Jul-05 4:00
Alexander M.,8-Jul-05 4:00 
AnswerRe: How to Get Public IP Address Pin
cmk8-Jul-05 11:07
cmk8-Jul-05 11:07 
GeneralRe: How to Get Public IP Address Pin
Member 12566510-Jul-05 19:10
Member 12566510-Jul-05 19:10 
GeneralRe: How to Get Public IP Address Pin
cmk10-Jul-05 22:06
cmk10-Jul-05 22:06 
>> Is there any API or any function which will tell me about my public ip.
No.

Think about a typical home setup.

[Your PC] - [DHCP][Cable Modem] - [ISP] - ...

Your PC knows what IP the cable modem DHCP server has assigned it.
It can even find out what the cable modem IP is with respect to your PC.
But, the cable modem has 2 IP's, one on your internal network, and one assigned to it by the ISP.
You would have to query the cable modem (router) to find what IP it has on the ISP side.
This is possible, but generally too much work compared to a quick send/recv to a well-known server.


...cmk

Save the whales - collect the whole set
Questionhow to declare and use an array of pointer on functions? Pin
bouli8-Jul-05 0:28
bouli8-Jul-05 0:28 
AnswerRe: how to declare and use an array of pointer on functions? Pin
Cedric Moonen8-Jul-05 1:15
Cedric Moonen8-Jul-05 1:15 
GeneralRe: how to declare and use an array of pointer on functions? Pin
t!bast8-Jul-05 1:29
t!bast8-Jul-05 1:29 
AnswerRe: how to declare and use an array of pointer on functions? Pin
David Crow8-Jul-05 3:40
David Crow8-Jul-05 3:40 
GeneralCommand Handler problem in Dialog Pin
ugur_basak7-Jul-05 22:42
ugur_basak7-Jul-05 22:42 
GeneralRe: Command Handler problem in Dialog Pin
Jose Lamas Rios8-Jul-05 3:10
Jose Lamas Rios8-Jul-05 3:10 
GeneralRe: Command Handler problem in Dialog Pin
ugur_basak8-Jul-05 3:28
ugur_basak8-Jul-05 3:28 
Questionhow to protect files like this? Pin
szcococut7-Jul-05 22:24
szcococut7-Jul-05 22:24 
AnswerRe: how to protect files like this? Pin
khan++7-Jul-05 23:34
khan++7-Jul-05 23:34 
GeneralRe: how to protect files like this? Pin
toxcct8-Jul-05 0:51
toxcct8-Jul-05 0:51 
GeneralRe: how to protect files like this? Pin
khan++8-Jul-05 1:21
khan++8-Jul-05 1:21 
GeneralRe: how to protect files like this? Pin
toxcct8-Jul-05 1:27
toxcct8-Jul-05 1:27 
GeneralRe: how to protect files like this? Pin
khan++8-Jul-05 1:54
khan++8-Jul-05 1:54 
AnswerRe: how to protect files like this? Pin
David Crow8-Jul-05 3:46
David Crow8-Jul-05 3:46 
GeneralCView: Change background color Pin
a_du7-Jul-05 22:12
a_du7-Jul-05 22:12 
GeneralRe: CView: Change background color Pin
khan++7-Jul-05 23:56
khan++7-Jul-05 23:56 
GeneralRe: CView: Change background color Pin
Anonymous10-Jul-05 0:13
Anonymous10-Jul-05 0:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.