Click here to Skip to main content
15,914,162 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to convert CString to char*. Pin
san123pune22-Jan-07 22:57
san123pune22-Jan-07 22:57 
GeneralRe: How to convert CString to char*. Pin
toxcct22-Jan-07 23:01
toxcct22-Jan-07 23:01 
AnswerRe: How to convert CString to char*. Pin
#realJSOP23-Jan-07 1:55
professional#realJSOP23-Jan-07 1:55 
AnswerRe: How to convert CString to char*. Pin
Hamid_RT23-Jan-07 7:50
Hamid_RT23-Jan-07 7:50 
GeneralRe: How to convert CString to char*. Pin
Mark Salsbery23-Jan-07 8:58
Mark Salsbery23-Jan-07 8:58 
AnswerRe: How to convert CString to char*. Pin
Mark Salsbery23-Jan-07 9:02
Mark Salsbery23-Jan-07 9:02 
QuestionSocket Communication Pin
Focus KWON22-Jan-07 19:11
Focus KWON22-Jan-07 19:11 
AnswerRe: Socket Communication Pin
dharani22-Jan-07 19:33
dharani22-Jan-07 19:33 
Hi
You mean to say you have written your server and client from derived class of CSOcket rgt ?
If so can you give me more details ?
Is your server dialog based or console application ?
If its a dialog based one then OnReceive() will run - no problem
If its a console aplication then OnReceive() will not receive from client because you need to TranslateMessage() and PeekMessage() which you can do by using a hidden CFrameWnd class .This is a known problem because in a console app the message handlers are not active by default .

So usually , most servers are written with Win32 socket APIs . Its not advisable to use CSocket for a server - but client is ok

redindian

AnswerRe: Socket Communication Pin
S Douglas23-Jan-07 0:50
professionalS Douglas23-Jan-07 0:50 
QuestionHow to use LoadStringResource in DLL ? Pin
Atul2322-Jan-07 19:08
Atul2322-Jan-07 19:08 
AnswerRe: How to use LoadStringResource in DLL ? Pin
Michael Dunn23-Jan-07 8:15
sitebuilderMichael Dunn23-Jan-07 8:15 
QuestionHard Disk Health Pin
kasturi_haribabu22-Jan-07 18:53
kasturi_haribabu22-Jan-07 18:53 
AnswerRe: Hard Disk Health Pin
ThatsAlok22-Jan-07 19:10
ThatsAlok22-Jan-07 19:10 
AnswerRe: Hard Disk Health Pin
Hamid_RT22-Jan-07 19:38
Hamid_RT22-Jan-07 19:38 
QuestionEmbedding an application in an application Pin
TPN22-Jan-07 18:48
TPN22-Jan-07 18:48 
AnswerRe: Embedding an application in an application Pin
ThatsAlok22-Jan-07 19:09
ThatsAlok22-Jan-07 19:09 
GeneralRe: Embedding an application in an application Pin
TPN22-Jan-07 19:15
TPN22-Jan-07 19:15 
QuestionFinding the Connection speed ........ Pin
junkMind22-Jan-07 17:11
junkMind22-Jan-07 17:11 
AnswerRe: Finding the Connection speed ........ Pin
ThatsAlok22-Jan-07 18:43
ThatsAlok22-Jan-07 18:43 
AnswerRe: Finding the Connection speed ........ Pin
ThatsAlok22-Jan-07 18:44
ThatsAlok22-Jan-07 18:44 
AnswerRe: Finding the Connection speed ........ Pin
Anilkumar K V23-Jan-07 1:03
Anilkumar K V23-Jan-07 1:03 
AnswerRe: Finding the Connection speed ........ Pin
rp_suman24-Jan-07 17:47
rp_suman24-Jan-07 17:47 
QuestionIs it possible to custom_draw the chevron button on the CRebar? Pin
benben22-Jan-07 16:38
benben22-Jan-07 16:38 
QuestionNonBlocking Client Socket - Connection Status Pin
ScotDolan22-Jan-07 10:57
ScotDolan22-Jan-07 10:57 
AnswerRe: NonBlocking Client Socket - Connection Status Pin
Mark Salsbery22-Jan-07 11:06
Mark Salsbery22-Jan-07 11:06 

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.