Click here to Skip to main content
15,892,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SetWaitableTimer Issue:- CALLBACK function not getting called Pin
S p k 52117-Mar-09 22:29
S p k 52117-Mar-09 22:29 
GeneralRe: SetWaitableTimer Issue:- CALLBACK function not getting called Pin
Stuart Dootson18-Mar-09 0:36
professionalStuart Dootson18-Mar-09 0:36 
GeneralRe: SetWaitableTimer Issue:- CALLBACK function not getting called Pin
S p k 52118-Mar-09 1:16
S p k 52118-Mar-09 1:16 
GeneralRe: SetWaitableTimer Issue:- CALLBACK function not getting called Pin
Stuart Dootson18-Mar-09 1:57
professionalStuart Dootson18-Mar-09 1:57 
GeneralRe: SetWaitableTimer Issue:- CALLBACK function not getting called Pin
S p k 52118-Mar-09 18:40
S p k 52118-Mar-09 18:40 
QuestionHow to establish a server in C++ : IP address issue Pin
includeh1017-Mar-09 19:00
includeh1017-Mar-09 19:00 
AnswerRe: How to establish a server in C++ : IP address issue Pin
Garth J Lancaster17-Mar-09 23:19
professionalGarth J Lancaster17-Mar-09 23:19 
AnswerRe: How to establish a server in C++ : IP address issue Pin
Iain Clarke, Warrior Programmer18-Mar-09 0:25
Iain Clarke, Warrior Programmer18-Mar-09 0:25 
Good thinking on using www.whatismyipaddress.com - I remember the site now, but I probably wouldn't have remembered if / when I needed.

If you do ipconfig /all, you'll see you have a Gateway address. Let's pretend that it is 10.1.1.1 (and quite likely too).

Your PC has an address of 10.1.1.2. When you want to talk to www.WIMIPA.com, your request first goes to 10.1.1.1. Assuming you are a small office, your router will be a NAT device, and have an outside world address of 60.240.xxx.yyy.

So, that website thinks the request is coming from the router - which it is. The router is clever enough to send the reply back to 10.1.1.2.

That's sending a request to the world.

For the other direction, it's a bit harder. You ask a DNS provider for www.includej10.com. You ask them to map that to 60.240.xxx.yyy. A.N.User asks that address that address for a webpage. The router then goes "huh? I'm not a webserver!" and fails to give a reply. OR: You can setup the router to say "Any traffic on port 80, please send that to 10.1.1.2 to handle". This is called port forwarding.

There are other wrinkles...

1/ If this is a small office, you may only have one router between you and the world. But your ISP may not give you the same IP address every time. This is tricky. There are services like dyndns that can help.

2/ If it's a larger office, you might have more than one router between you and the world, not to mention corporate firewalls. In which case, either get very friendly with your IT people, who'd better know more about this stuff than me, or tough.

3/ There's a reason people pay for webhosting... It makes a lot of this easier.


As for establishing a server for US users, the internet is nice and global - it's the same for Mongolian users also. If you have a lot of traffic, you might want to be physically closer, but the technology is the same.

I hope that helped a bit!

Iain.

In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!

QuestionLinking library help. Pin
FISH78617-Mar-09 14:42
FISH78617-Mar-09 14:42 
AnswerRe: Linking library help. Pin
Garth J Lancaster17-Mar-09 16:11
professionalGarth J Lancaster17-Mar-09 16:11 
GeneralRe: Linking library help. Pin
FISH78617-Mar-09 16:31
FISH78617-Mar-09 16:31 
GeneralRe: Linking library help. Pin
Garth J Lancaster17-Mar-09 17:05
professionalGarth J Lancaster17-Mar-09 17:05 
GeneralRe: Linking library help. Pin
FISH78617-Mar-09 17:51
FISH78617-Mar-09 17:51 
QuestionDigita Stop Watch Pin
Astitva2317-Mar-09 14:17
Astitva2317-Mar-09 14:17 
AnswerRe: Digita Stop Watch Pin
Garth J Lancaster17-Mar-09 14:32
professionalGarth J Lancaster17-Mar-09 14:32 
QuestionShowing an image to the use Pin
llp00na17-Mar-09 11:21
llp00na17-Mar-09 11:21 
AnswerRe: Showing an image to the use Pin
CPallini17-Mar-09 11:32
mveCPallini17-Mar-09 11:32 
GeneralRe: Showing an image to the use Pin
llp00na17-Mar-09 11:44
llp00na17-Mar-09 11:44 
QuestionRe: Showing an image to the use Pin
CPallini17-Mar-09 11:57
mveCPallini17-Mar-09 11:57 
AnswerRe: Showing an image to the use Pin
llp00na17-Mar-09 12:01
llp00na17-Mar-09 12:01 
AnswerRe: Showing an image to the use Pin
bulg17-Mar-09 12:04
bulg17-Mar-09 12:04 
GeneralRe: Showing an image to the use Pin
llp00na17-Mar-09 12:27
llp00na17-Mar-09 12:27 
GeneralRe: Showing an image to the use Pin
CPallini17-Mar-09 13:10
mveCPallini17-Mar-09 13:10 
GeneralRe: Showing an image to the use Pin
bulg17-Mar-09 13:32
bulg17-Mar-09 13:32 
GeneralRe: Showing an image to the use Pin
llp00na17-Mar-09 13:53
llp00na17-Mar-09 13:53 

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.