Click here to Skip to main content
15,036,891 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to decrease the CPU usage Pin
GauranG Shah10-Sep-07 2:47
MemberGauranG Shah10-Sep-07 2:47 
AnswerRe: How to decrease the CPU usage Pin
baerten10-Sep-07 2:50
Memberbaerten10-Sep-07 2:50 
GeneralRe: How to decrease the CPU usage Pin
GauranG Shah10-Sep-07 3:18
MemberGauranG Shah10-Sep-07 3:18 
GeneralRe: How to decrease the CPU usage Pin
David Crow10-Sep-07 5:22
MemberDavid Crow10-Sep-07 5:22 
GeneralRe: How to decrease the CPU usage Pin
Mark Salsbery10-Sep-07 6:07
MemberMark Salsbery10-Sep-07 6:07 
QuestionJava Style Socket Programming in C++ Pin
maglev_tgv10-Sep-07 2:40
Membermaglev_tgv10-Sep-07 2:40 
AnswerRe: Java Style Socket Programming in C++ Pin
baerten10-Sep-07 2:48
Memberbaerten10-Sep-07 2:48 
QuestionRe: Java Style Socket Programming in C++ Pin
maglev_tgv10-Sep-07 3:14
Membermaglev_tgv10-Sep-07 3:14 
Thanks for your assistance.
I added those lines to my project.
But, when I build the project, there was an error :
error C2065: 'ListenSocket' : undeclared identifier
So I added this line :
SOCKET ListenSocket;
Then I build it again, although I got some warning :
warning C4700: uninitialized local variable 'ListenSocket' used
there was no error.
Then I debug, try to connect from other computer.
It was connected, could read the buffer, but my program shows "0.0.0.0" as client's IP address.

Any suggestion?




----------
C++ Learner

AnswerRe: Java Style Socket Programming in C++ Pin
baerten10-Sep-07 3:20
Memberbaerten10-Sep-07 3:20 
GeneralRe: Java Style Socket Programming in C++ Pin
maglev_tgv10-Sep-07 4:15
Membermaglev_tgv10-Sep-07 4:15 
GeneralRe: Java Style Socket Programming in C++ Pin
baerten10-Sep-07 4:24
Memberbaerten10-Sep-07 4:24 
GeneralRe: Java Style Socket Programming in C++ Pin
maglev_tgv10-Sep-07 5:09
Membermaglev_tgv10-Sep-07 5:09 
AnswerRe: Java Style Socket Programming in C++ [modified] Pin
maglev_tgv10-Sep-07 5:38
Membermaglev_tgv10-Sep-07 5:38 
GeneralRe: Java Style Socket Programming in C++ Pin
baerten11-Sep-07 4:08
Memberbaerten11-Sep-07 4:08 
QuestionWriting a .html file Pin
neha.agarwal2710-Sep-07 2:22
Memberneha.agarwal2710-Sep-07 2:22 
AnswerRe: Writing a .html file Pin
Paresh Chitte10-Sep-07 2:38
MemberParesh Chitte10-Sep-07 2:38 
AnswerRe: Writing a .html file Pin
Russell'10-Sep-07 2:39
MemberRussell'10-Sep-07 2:39 
Questionfile search problem Pin
david bagaturia10-Sep-07 1:38
Memberdavid bagaturia10-Sep-07 1:38 
AnswerRe: file search problem Pin
Cedric Moonen10-Sep-07 1:59
MemberCedric Moonen10-Sep-07 1:59 
GeneralRe: file search problem Pin
david bagaturia10-Sep-07 3:51
Memberdavid bagaturia10-Sep-07 3:51 
GeneralRe: file search problem Pin
Cedric Moonen10-Sep-07 4:34
MemberCedric Moonen10-Sep-07 4:34 
GeneralRe: file search problem Pin
david bagaturia10-Sep-07 19:37
Memberdavid bagaturia10-Sep-07 19:37 
QuestionFont & BkColor Pin
josip cagalj10-Sep-07 1:16
Memberjosip cagalj10-Sep-07 1:16 
AnswerRe: Font & BkColor Pin
Nishad S10-Sep-07 1:31
MemberNishad S10-Sep-07 1:31 
GeneralRe: Font & BkColor Pin
josip cagalj10-Sep-07 1:55
Memberjosip cagalj10-Sep-07 1:55 

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.