Click here to Skip to main content
15,895,799 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: virtual member Pin
CPallini4-Nov-09 21:29
mveCPallini4-Nov-09 21:29 
GeneralRe: virtual member Pin
khomeyni5-Nov-09 4:54
khomeyni5-Nov-09 4:54 
GeneralRe: virtual member Pin
CPallini5-Nov-09 6:58
mveCPallini5-Nov-09 6:58 
QuestionComments needed: change from CSocket to raw socket Pin
includeh104-Nov-09 19:25
includeh104-Nov-09 19:25 
AnswerRe: Comments needed: change from CSocket to raw socket Pin
HimanshuJoshi4-Nov-09 20:03
HimanshuJoshi4-Nov-09 20:03 
AnswerRe: Comments needed: change from CSocket to raw socket Pin
CPallini4-Nov-09 21:22
mveCPallini4-Nov-09 21:22 
AnswerRe: Comments needed: change from CSocket to raw socket Pin
Richard MacCutchan4-Nov-09 23:01
mveRichard MacCutchan4-Nov-09 23:01 
AnswerRe: Comments needed: change from CSocket to raw socket Pin
Moak5-Nov-09 3:15
Moak5-Nov-09 3:15 
So MFC's CSocket caused problems in your code and you want to go to raw sockets. Why? Wouldn't it be quicker to fix your code or use one of the many existing wrapper classes. There are blocking and event based socket classes out there, in alphabetical order:

* Alhem
* Boost
* SharkEngine
* QT
* and many others...

It seems to be a C++ world stigma... instead of putting development effort into low-level coding, how about using a stable, documented library and improve the application with the extra time? I think it is not trivial to write a stable, flexible, efficient networking core. Perhaps you require at a later point HTTP proxy support, session handling, encryption or something else that a library would already provide. To be honest, other languages like Java or Python offer a better collection of reusable functionality, but at least for networking there are some good choices for C++ too.

Hope it helps! Smile | :)


QuestionHow to set maximum length for EditControl (textBox) Pin
AliceYeap4-Nov-09 15:32
AliceYeap4-Nov-09 15:32 
AnswerRe: How to set maximum length for EditControl (textBox) Pin
«_Superman_»4-Nov-09 15:50
professional«_Superman_»4-Nov-09 15:50 
GeneralRe: How to set maximum length for EditControl (textBox) Pin
AliceYeap4-Nov-09 16:37
AliceYeap4-Nov-09 16:37 
QuestionRe: How to set maximum length for EditControl (textBox) Pin
David Crow4-Nov-09 17:16
David Crow4-Nov-09 17:16 
GeneralRe: How to set maximum length for EditControl (textBox) [modified] Pin
«_Superman_»4-Nov-09 18:27
professional«_Superman_»4-Nov-09 18:27 
GeneralRe: How to set maximum length for EditControl (textBox) Pin
David Crow5-Nov-09 3:53
David Crow5-Nov-09 3:53 
GeneralRe: How to set maximum length for EditControl (textBox) Pin
«_Superman_»5-Nov-09 5:38
professional«_Superman_»5-Nov-09 5:38 
GeneralRe: How to set maximum length for EditControl (textBox) Pin
David Crow5-Nov-09 6:30
David Crow5-Nov-09 6:30 
AnswerRe: How to set maximum length for EditControl (textBox) Pin
Adam Roderick J4-Nov-09 19:22
Adam Roderick J4-Nov-09 19:22 
AnswerRe: How to set maximum length for EditControl (textBox) Pin
AliceYeap4-Nov-09 20:13
AliceYeap4-Nov-09 20:13 
QuestionDirectShow VMR-9: renders only 50% of the time in fullscreen. how to fix? Pin
Satrugha4-Nov-09 13:38
Satrugha4-Nov-09 13:38 
Questionhow to declare a one based array ? Pin
timbk4-Nov-09 12:47
timbk4-Nov-09 12:47 
AnswerRe: how to declare a one based array ? Pin
Luc Pattyn4-Nov-09 13:25
sitebuilderLuc Pattyn4-Nov-09 13:25 
AnswerRe: how to declare a one based array ? [modified] Pin
CPallini4-Nov-09 13:35
mveCPallini4-Nov-09 13:35 
GeneralRe: how to declare a one based array ? Pin
timbk4-Nov-09 13:43
timbk4-Nov-09 13:43 
QuestionRe: how to declare a one based array ? Pin
CPallini4-Nov-09 13:49
mveCPallini4-Nov-09 13:49 
AnswerRe: how to declare a one based array ? Pin
timbk4-Nov-09 13:58
timbk4-Nov-09 13:58 

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.