Click here to Skip to main content
15,907,001 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Learning VS 2005 C++ - recommendation Pin
LunaticFringe10-Jan-10 1:32
LunaticFringe10-Jan-10 1:32 
GeneralRe: Learning VS 2005 C++ - recommendation Pin
Rolf Kristensen10-Jan-10 1:40
Rolf Kristensen10-Jan-10 1:40 
GeneralRe: Learning VS 2005 C++ - recommendation Pin
LunaticFringe10-Jan-10 1:53
LunaticFringe10-Jan-10 1:53 
GeneralRe: Learning VS 2005 C++ - recommendation Pin
Rolf Kristensen10-Jan-10 1:59
Rolf Kristensen10-Jan-10 1:59 
AnswerRe: Learning VS 2005 C++ - recommendation Pin
Denny10110-Jan-10 20:28
Denny10110-Jan-10 20:28 
GeneralRe: Learning VS 2005 C++ - recommendation Pin
Rolf Kristensen15-Jan-10 1:20
Rolf Kristensen15-Jan-10 1:20 
GeneralRe: Learning VS 2005 C++ - recommendation Pin
Denny10115-Jan-10 9:32
Denny10115-Jan-10 9:32 
QuestionWSAAsyncSelect and FD_WRITE Pin
zoopp9-Jan-10 0:35
zoopp9-Jan-10 0:35 
First of all...I can't tell you how frustrated i am about this FD_WRITE event. I've been searching for quite some time explanations about how it works yet I'm still not able to understand it properly. D'Oh! | :doh:

Q1: Do i use FD_WRITE to communicate with the client application?

If yes...

Q2: FD_WRITE is triggered when the network buffer becomes full. What is this network buffer and why does it need to become full before sending the data?
Q3: In order to fill it up I should make continuous calls to send() until i receive WSAEWOULDBLOCK. But if i don't have enough data to fill it up, what should i do? And...why continuous calls to send()?

If no..

Q2: What should i do when the FD_WRITE event triggers?
Q3: Should i use the FD_READ event to send a response based on the data received from the client?
AnswerRe: WSAAsyncSelect and FD_WRITE Pin
Moak9-Jan-10 5:50
Moak9-Jan-10 5:50 
GeneralRe: WSAAsyncSelect and FD_WRITE Pin
zoopp9-Jan-10 11:18
zoopp9-Jan-10 11:18 
GeneralRe: WSAAsyncSelect and FD_WRITE Pin
Moak9-Jan-10 12:00
Moak9-Jan-10 12:00 
QuestionHow to check if a tree is AVL tree? Pin
Cowork8-Jan-10 22:17
Cowork8-Jan-10 22:17 
QuestionRe: How to check if a tree is AVL tree? Pin
CPallini9-Jan-10 4:42
mveCPallini9-Jan-10 4:42 
AnswerRe: How to check if a tree is AVL tree? Pin
Cowork9-Jan-10 13:50
Cowork9-Jan-10 13:50 
GeneralRe: How to check if a tree is AVL tree? Pin
CPallini9-Jan-10 22:50
mveCPallini9-Jan-10 22:50 
AnswerRe: How to check if a tree is AVL tree? Pin
Saurabh.Garg9-Jan-10 14:30
Saurabh.Garg9-Jan-10 14:30 
Questionregular expression library for win32 api c or c++ Pin
Jayapal Chandran8-Jan-10 7:55
Jayapal Chandran8-Jan-10 7:55 
AnswerRe: regular expression library for win32 api c or c++ Pin
LunaticFringe8-Jan-10 8:57
LunaticFringe8-Jan-10 8:57 
GeneralRe: regular expression library for win32 api c or c++ Pin
Jayapal Chandran9-Jan-10 5:37
Jayapal Chandran9-Jan-10 5:37 
GeneralRe: regular expression library for win32 api c or c++ Pin
LunaticFringe9-Jan-10 11:56
LunaticFringe9-Jan-10 11:56 
GeneralRe: regular expression library for win32 api c or c++ Pin
Jayapal Chandran10-Jan-10 8:14
Jayapal Chandran10-Jan-10 8:14 
AnswerRe: regular expression library for win32 api c or c++ Pin
Graham Shanks8-Jan-10 10:39
Graham Shanks8-Jan-10 10:39 
AnswerRe: regular expression library for win32 api c or c++ Pin
Nemanja Trifunovic8-Jan-10 12:07
Nemanja Trifunovic8-Jan-10 12:07 
GeneralRe: regular expression library for win32 api c or c++ Pin
Jayapal Chandran9-Jan-10 5:39
Jayapal Chandran9-Jan-10 5:39 
QuestionQuestion about reading and writing to a file Pin
amichai228-Jan-10 6:25
amichai228-Jan-10 6:25 

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.