Click here to Skip to main content
15,928,207 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Question Pin
David Crow22-Jul-05 5:52
David Crow22-Jul-05 5:52 
GeneralRe: Question Pin
Alex_Y22-Jul-05 8:59
Alex_Y22-Jul-05 8:59 
Questionwhat is diff. btwn CSoket and CAsynsocket Pin
Rajesh match22-Jul-05 4:31
Rajesh match22-Jul-05 4:31 
AnswerRe: what is diff. btwn CSoket and CAsynsocket Pin
toxcct22-Jul-05 4:41
toxcct22-Jul-05 4:41 
GeneralRe: what is diff. btwn CSoket and CAsynsocket Pin
Rajesh match22-Jul-05 5:12
Rajesh match22-Jul-05 5:12 
AnswerRe: what is diff. btwn CSoket and CAsynsocket Pin
Jim Crafton22-Jul-05 7:11
Jim Crafton22-Jul-05 7:11 
GeneralRe: what is diff. btwn CSoket and CAsynsocket Pin
Rajesh match22-Jul-05 20:11
Rajesh match22-Jul-05 20:11 
GeneralRe: what is diff. btwn CSoket and CAsynsocket Pin
Jim Crafton23-Jul-05 4:33
Jim Crafton23-Jul-05 4:33 
look up ioctlsocket - this is a BSD style socket function and it operates on a valid socket handle. I don't know what the equivalent with CSocket would be. You might use it like so:

void setBlocking( SOCKET s, const bool& isBlockingSocket )
{
        unsigned long val = isBlockingSocket ? 0 : 1;

        int err = ioctlsocket( s, FIONBIO, &val );
        if ( err == SOCKET_ERROR ) {
                err = WSAGetLastError();
                //do some error handling here...
        }
}


¡El diablo está en mis pantalones! ¡Mire, mire!

Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!

SELECT * FROM User WHERE Clue > 0
0 rows returned

Save an Orange - Use the VCF!
GeneralRe: what is diff. btwn CSoket and CAsynsocket Pin
Rajesh match23-Jul-05 4:53
Rajesh match23-Jul-05 4:53 
QuestionHow to determine drag target Pin
dmitry_5822-Jul-05 4:00
dmitry_5822-Jul-05 4:00 
AnswerRe: How to determine drag source Pin
Alex_Y22-Jul-05 5:03
Alex_Y22-Jul-05 5:03 
GeneralRe: How to determine drag source Pin
dmitry_5822-Jul-05 5:18
dmitry_5822-Jul-05 5:18 
GeneralRe: How to determine drag source Pin
Alex_Y22-Jul-05 8:49
Alex_Y22-Jul-05 8:49 
GeneralRe: How to determine drag source Pin
dmitry_5825-Jul-05 3:04
dmitry_5825-Jul-05 3:04 
Generaloptimise text convertion Pin
fallologia22-Jul-05 3:22
fallologia22-Jul-05 3:22 
GeneralRe: optimise text convertion Pin
David Crow22-Jul-05 3:33
David Crow22-Jul-05 3:33 
GeneralCompiled program won't run... Pin
Henrik Pettersson22-Jul-05 2:02
Henrik Pettersson22-Jul-05 2:02 
GeneralRe: Compiled program won't run... Pin
toxcct22-Jul-05 2:12
toxcct22-Jul-05 2:12 
GeneralRe: Compiled program won't run... Pin
Henrik Pettersson22-Jul-05 2:43
Henrik Pettersson22-Jul-05 2:43 
GeneralRe: Compiled program won't run... Pin
Trollslayer22-Jul-05 4:24
mentorTrollslayer22-Jul-05 4:24 
GeneralRe: Compiled program won't run... Pin
Henrik Pettersson22-Jul-05 5:04
Henrik Pettersson22-Jul-05 5:04 
GeneralRe: Compiled program won't run... Pin
David Crow22-Jul-05 5:58
David Crow22-Jul-05 5:58 
GeneralQuestions About CFtpFileFind Class Pin
jdnx22-Jul-05 0:30
jdnx22-Jul-05 0:30 
GeneralRe: Questions About CFtpFileFind Class Pin
Aamir Butt22-Jul-05 0:44
Aamir Butt22-Jul-05 0:44 
GeneralRe: Questions About CFtpFileFind Class Pin
jdnx22-Jul-05 12:45
jdnx22-Jul-05 12: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.