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

C / C++ / MFC

 
JokeRe: veryurgent : perfect tool to convert coff format lib to omf format Pin
Hamid_RT20-Jun-07 9:24
Hamid_RT20-Jun-07 9:24 
GeneralRe: veryurgent : perfect tool to convert coff format lib to omf format Pin
Mark Salsbery20-Jun-07 9:26
Mark Salsbery20-Jun-07 9:26 
QuestionCSocket stoping in PumpMessage (please help) Pin
tomitron20-Jun-07 1:55
tomitron20-Jun-07 1:55 
AnswerRe: CSocket stoping in PumpMessage (please help) Pin
Matthew Faithfull20-Jun-07 2:53
Matthew Faithfull20-Jun-07 2:53 
AnswerRe: CSocket stoping in PumpMessage (please help) Pin
Mike Dimmick20-Jun-07 3:44
Mike Dimmick20-Jun-07 3:44 
AnswerRe: CSocket stoping in PumpMessage (please help) Pin
Roger Stoltz20-Jun-07 4:29
Roger Stoltz20-Jun-07 4:29 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
led mike20-Jun-07 5:28
led mike20-Jun-07 5:28 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
Roger Stoltz20-Jun-07 6:21
Roger Stoltz20-Jun-07 6:21 
led mike wrote:
Now or later? See "Technical Debt[^]"


You're pulling my leg, right?


led mike wrote:
The Microsoft documentation recommends using the Winsock2 library for Socket development.


Confused | :confused: Unsure | :~
I haven't found any statement in MSDN that says something like "don't use CSocket or CAsyncSocket".
There are multiple ways of how to write networking applications; using raw sockets or MFC wrapper classes are two of them. Microsoft may provide documentation and examples of how to do it in either way, but I haven't found either of them endorsed by Microsoft.
It could be as simple as I haven't looked in the right document yet... Wink | ;)
My point was that the way Microsoft recommends their own MFC wrapper classes to be used in KB192570 with surroundings does not do the trick, which should be fairly obvious if one reads the article I linked to.


led mike wrote:
It doesn't take much work to write a class that encapsulates the socket handle and the Winsock2 API.


Big Grin | :-D
Sorry, but my experience tells me that whenever someone put it like that, they are almost always wrong. If they are right it has to be a developer who left the beginner state a long time ago. That doesn't mean you couldn't do it in a heartbeat. Rose | [Rose]

The article you linked to looks great at the first glimpse. I will read it carefully when I have the time and try the concept out.
Thanks a lot.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown

GeneralRe: CSocket stoping in PumpMessage (please help) Pin
led mike20-Jun-07 6:32
led mike20-Jun-07 6:32 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
Roger Stoltz20-Jun-07 6:57
Roger Stoltz20-Jun-07 6:57 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
led mike20-Jun-07 8:43
led mike20-Jun-07 8:43 
AnswerRe: CSocket stoping in PumpMessage (please help) Pin
tomitron20-Jun-07 5:44
tomitron20-Jun-07 5:44 
AnswerRe: CSocket stoping in PumpMessage (please help) Pin
tomitron21-Jun-07 1:38
tomitron21-Jun-07 1:38 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
tomitron21-Jun-07 1:41
tomitron21-Jun-07 1:41 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
Roger Stoltz21-Jun-07 3:38
Roger Stoltz21-Jun-07 3:38 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
tomitron21-Jun-07 5:33
tomitron21-Jun-07 5:33 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
Roger Stoltz22-Jun-07 1:05
Roger Stoltz22-Jun-07 1:05 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
Mike O'Neill6-Jul-07 14:07
Mike O'Neill6-Jul-07 14:07 
GeneralRe: CSocket stoping in PumpMessage (please help) Pin
tomitron6-Jul-07 14:52
tomitron6-Jul-07 14:52 
QuestionProblem with Xp Styles Pin
TobetheWinner20-Jun-07 1:55
TobetheWinner20-Jun-07 1:55 
AnswerRe: Problem with Xp Styles Pin
toxcct20-Jun-07 1:57
toxcct20-Jun-07 1:57 
QuestionRe: Problem with Xp Styles Pin
TobetheWinner20-Jun-07 8:09
TobetheWinner20-Jun-07 8:09 
AnswerRe: Problem with Xp Styles Pin
Hamid_RT20-Jun-07 9:19
Hamid_RT20-Jun-07 9:19 
QuestionManifest and Exp Pin
tom groezer20-Jun-07 1:36
tom groezer20-Jun-07 1:36 
AnswerRe: Manifest and Exp Pin
toxcct20-Jun-07 1:45
toxcct20-Jun-07 1:45 

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.