Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: generate password using brute algo? Pin
MicroVirus18-May-13 12:58
MicroVirus18-May-13 12:58 
Questionglut.h header package doesnt work Pin
Yashwanth. C.b17-May-13 19:01
Yashwanth. C.b17-May-13 19:01 
AnswerRe: glut.h header package doesnt work Pin
Newbie0017-May-13 22:28
Newbie0017-May-13 22:28 
QuestionHow to Conect two computers in different networks Pin
AntonioJesus17-May-13 0:48
professionalAntonioJesus17-May-13 0:48 
AnswerRe: How to Conect two computers in different networks Pin
Richard MacCutchan17-May-13 1:01
mveRichard MacCutchan17-May-13 1:01 
AnswerRe: How to Conect two computers in different networks Pin
Garth J Lancaster17-May-13 1:03
professionalGarth J Lancaster17-May-13 1:03 
GeneralRe: How to Conect two computers in different networks Pin
AntonioJesus17-May-13 1:18
professionalAntonioJesus17-May-13 1:18 
AnswerRe: How to Conect two computers in different networks Pin
Jochen Arndt17-May-13 2:24
professionalJochen Arndt17-May-13 2:24 
As already said by others: This is not a problem of your code, but of the network topology.

The IP adress of the server must be routable (adress can be reached by the client). If the server is behind a router that connects a local network using private adresses to the internet (or another local network with a different private IP range), you must setup port forwarding on the router. If there is a firewall involved, it must be also configured to allow passing packets from/to the forwarded ports and the server IP. When internet access on the server side uses dynamic IPs (common with dial-up connectings), you must also register a dynamic DNS name and configure this in the router.

This setup is not required for clients because routers on the client side will usually perform the forwarding. But when using non-standard ports, it may be also necessary to allow these ports in firewalls and routers.

The keywords to read more about this topic are NAT (Network Address Translation), Port Forwarding, and DDNS (Dynamic DNS).

When using a private internet access, see the manual of your router to configure port forwarding and DDNS. Otherwise ask the network administrator of your company / educational institution.
AnswerRe: How to Conect two computers in different networks Pin
David Crow17-May-13 5:06
David Crow17-May-13 5:06 
QuestionOOP Project Ideas Pin
dirtyfishtank16-May-13 19:30
dirtyfishtank16-May-13 19:30 
AnswerRe: OOP Project Ideas Pin
MicroVirus17-May-13 1:14
MicroVirus17-May-13 1:14 
GeneralRe: OOP Project Ideas Pin
dirtyfishtank23-May-13 12:45
dirtyfishtank23-May-13 12:45 
AnswerRe: OOP Project Ideas Pin
Erudite_Eric19-May-13 22:43
Erudite_Eric19-May-13 22:43 
QuestionWhy does this compile on Linux with gcc and not on WIndows with VC? Pin
Erudite_Eric16-May-13 7:45
Erudite_Eric16-May-13 7:45 
AnswerRe: Why does this compile on Linux with gcc and not on WIndows with VC? Pin
Chris Losinger16-May-13 7:56
professionalChris Losinger16-May-13 7:56 
GeneralRe: Why does this compile on Linux with gcc and not on WIndows with VC? Pin
Erudite_Eric16-May-13 8:06
Erudite_Eric16-May-13 8:06 
GeneralRe: Why does this compile on Linux with gcc and not on WIndows with VC? Pin
Erudite_Eric16-May-13 8:08
Erudite_Eric16-May-13 8:08 
GeneralRe: Why does this compile on Linux with gcc and not on WIndows with VC? Pin
Erudite_Eric16-May-13 8:16
Erudite_Eric16-May-13 8:16 
GeneralRe: Why does this compile on Linux with gcc and not on WIndows with VC? Pin
Chris Losinger16-May-13 8:51
professionalChris Losinger16-May-13 8:51 
GeneralRe: Why does this compile on Linux with gcc and not on WIndows with VC? Pin
CPallini16-May-13 9:36
mveCPallini16-May-13 9:36 
GeneralRe: Why does this compile on Linux with gcc and not on WIndows with VC? Pin
Erudite_Eric17-May-13 4:50
Erudite_Eric17-May-13 4:50 
AnswerRe: Why does this compile on Linux with gcc and not on WIndows with VC? Pin
dusty_dex16-May-13 7:58
dusty_dex16-May-13 7:58 
GeneralRe: Why does this compile on Linux with gcc and not on WIndows with VC? Pin
Erudite_Eric16-May-13 8:18
Erudite_Eric16-May-13 8:18 
QuestionPassing objects between dialogs MFC Pin
Cynizm16-May-13 7:25
Cynizm16-May-13 7:25 
AnswerRe: Passing objects between dialogs MFC Pin
Erudite_Eric16-May-13 8:05
Erudite_Eric16-May-13 8:05 

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.