Click here to Skip to main content
15,893,663 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioninternet accelerator?? Pin
gr8coaster32929-Dec-05 13:03
gr8coaster32929-Dec-05 13:03 
AnswerRe: internet accelerator?? Pin
Prakash Nadar29-Dec-05 23:34
Prakash Nadar29-Dec-05 23:34 
QuestionPrinting Problem - Console App - C++ - VS2005 Pin
LudwigKeck29-Dec-05 12:00
LudwigKeck29-Dec-05 12:00 
AnswerRe: Printing Problem - Console App - C++ - VS2005 Pin
Prakash Nadar29-Dec-05 23:20
Prakash Nadar29-Dec-05 23:20 
QuestionSimple DLL question Pin
Axonn Echysttas29-Dec-05 8:50
Axonn Echysttas29-Dec-05 8:50 
AnswerRe: Simple DLL question Pin
basementman29-Dec-05 8:54
basementman29-Dec-05 8:54 
GeneralRe: Simple DLL question Pin
Axonn Echysttas30-Dec-05 23:33
Axonn Echysttas30-Dec-05 23:33 
Questionconnecting P2P Pin
arui6929-Dec-05 8:13
arui6929-Dec-05 8:13 
Hi,

I have a this problem that I don't succeed in connecting to another computer through the net, can anyone please help me?

I have two computers in different locations:
1) Both get the ip through the local computer name and then a call to gethostbyname and inet_ntoa. Is there a better way achieving the current ip?
2) I use a hub, how can I get my real IP and not what the hub gives me?
3) On the other computer a server listens on INADDR_ANY and a certain port, when I try to connect to it with the ip found in section 1, I fail after a timeout. I tried pinging the computer with the ip found, but it was unreachable. Can it be the ip is unreachable (even when the firewall is down)? What can be the problem? The socket connects without problems to sites on the internet and to the local computer ip.

thanks in advance,

O.

AnswerRe: connecting P2P Pin
Nish Nishant29-Dec-05 10:06
sitebuilderNish Nishant29-Dec-05 10:06 
QuestionDragable buttons Pin
zapper22229-Dec-05 7:56
zapper22229-Dec-05 7:56 
Questionsendto() in raw sock mode gets WSAEINTR err. Pin
9ine29-Dec-05 7:33
9ine29-Dec-05 7:33 
Questionhow to write a unicode string to a text file Pin
ChrisLang29-Dec-05 7:27
ChrisLang29-Dec-05 7:27 
AnswerRe: how to write a unicode string to a text file Pin
Nish Nishant29-Dec-05 8:36
sitebuilderNish Nishant29-Dec-05 8:36 
AnswerRe: how to write a unicode string to a text file Pin
Taka Muraoka29-Dec-05 18:04
Taka Muraoka29-Dec-05 18:04 
AnswerRe: how to write a unicode string to a text file Pin
krmed30-Dec-05 3:57
krmed30-Dec-05 3:57 
QuestionDynamic arrays in C Pin
Waldermort29-Dec-05 4:03
Waldermort29-Dec-05 4:03 
AnswerRe: Dynamic arrays in C Pin
Maximilien29-Dec-05 5:55
Maximilien29-Dec-05 5:55 
AnswerRe: Dynamic arrays in C Pin
Identity Undisclosed29-Dec-05 6:07
Identity Undisclosed29-Dec-05 6:07 
GeneralRe: Dynamic arrays in C Pin
Waldermort29-Dec-05 6:29
Waldermort29-Dec-05 6:29 
GeneralRe: Dynamic arrays in C Pin
Identity Undisclosed29-Dec-05 18:28
Identity Undisclosed29-Dec-05 18:28 
AnswerRe: Dynamic arrays in C Pin
Owner drawn29-Dec-05 17:05
Owner drawn29-Dec-05 17:05 
AnswerRe: Dynamic arrays in C Pin
vikas amin29-Dec-05 19:05
vikas amin29-Dec-05 19:05 
AnswerRe: Dynamic arrays in C Pin
Waldermort30-Dec-05 1:48
Waldermort30-Dec-05 1:48 
QuestionShade icon on the view (SDI ) Pin
zhonglin.liang29-Dec-05 3:47
zhonglin.liang29-Dec-05 3:47 
AnswerRe: Shade icon on the view (SDI ) Pin
David Crow29-Dec-05 3:50
David Crow29-Dec-05 3:50 

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.