Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Heap Corruption issue Pin
David Crow21-Jun-16 10:47
David Crow21-Jun-16 10:47 
AnswerRe: Heap Corruption issue Pin
Ben Aldhouse21-Jun-16 12:45
Ben Aldhouse21-Jun-16 12:45 
QuestionWinsock - FD_WRITE Pin
Vijjuuu.21-Jun-16 4:54
Vijjuuu.21-Jun-16 4:54 
AnswerRe: Winsock - FD_WRITE Pin
David Crow21-Jun-16 7:19
David Crow21-Jun-16 7:19 
GeneralRe: Winsock - FD_WRITE Pin
Vijjuuu.21-Jun-16 8:04
Vijjuuu.21-Jun-16 8:04 
GeneralRe: Winsock - FD_WRITE Pin
David Crow21-Jun-16 8:12
David Crow21-Jun-16 8:12 
GeneralRe: Winsock - FD_WRITE Pin
Vijjuuu.21-Jun-16 8:21
Vijjuuu.21-Jun-16 8:21 
GeneralRe: Winsock - FD_WRITE Pin
David Crow21-Jun-16 9:19
David Crow21-Jun-16 9:19 
Vijjuuu. wrote:
...but when there is no data to send ?
Then don't send any.

Vijjuuu. wrote:

and does it mean after initial FD_Write (the time after connection established) , FD_WRITE will be polled to application to let know that it can send data ?
Did you read the documentation that goes with that event? Your application gets the initial FD_WRITE event which means it can start sending data to the socket. In the event that whatever "send" function you are using returns WSAEWOULDBLOCK, you would then have to wait for the next FD_WRITE event to resume sending data to the socket.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles


AnswerRe: Winsock - FD_WRITE Pin
Member 1260667928-Jun-16 20:47
Member 1260667928-Jun-16 20:47 
QuestionDLL files from wmi Pin
Member 1253112919-Jun-16 22:10
Member 1253112919-Jun-16 22:10 
AnswerRe: DLL files from wmi Pin
Jochen Arndt19-Jun-16 22:30
professionalJochen Arndt19-Jun-16 22:30 
QuestionPrint class Members? Pin
bosfan16-Jun-16 5:29
bosfan16-Jun-16 5:29 
AnswerRe: Print class Members? Pin
Maximilien16-Jun-16 5:41
Maximilien16-Jun-16 5:41 
QuestionRe: Print class Members? Pin
David Crow16-Jun-16 6:12
David Crow16-Jun-16 6:12 
AnswerRe: Print class Members? Pin
bosfan5-Aug-16 4:24
bosfan5-Aug-16 4:24 
AnswerRe: Print class Members? Pin
David Crow5-Aug-16 4:27
David Crow5-Aug-16 4:27 
AnswerRe: Print class Members? Pin
CPallini17-Jun-16 0:22
mveCPallini17-Jun-16 0:22 
GeneralRe: Print class Members? Pin
bosfan5-Aug-16 4:25
bosfan5-Aug-16 4:25 
GeneralRe: Print class Members? Pin
CPallini7-Aug-16 20:42
mveCPallini7-Aug-16 20:42 
QuestionCan define a function with same name and signature? Pin
sandeep manzhi16-Jun-16 4:22
sandeep manzhi16-Jun-16 4:22 
QuestionRe: define a function Pin
David Crow16-Jun-16 4:26
David Crow16-Jun-16 4:26 
SuggestionRe: define a function Pin
Richard MacCutchan16-Jun-16 4:32
mveRichard MacCutchan16-Jun-16 4:32 
AnswerRe: Can define a function with same name and signature? Pin
leon de boer16-Jun-16 6:38
leon de boer16-Jun-16 6:38 
GeneralRe: Can define a function with same name and signature? Pin
CPallini17-Jun-16 0:23
mveCPallini17-Jun-16 0:23 
AnswerRe: Can define a function with same name and signature? Pin
Bram van Kampen26-Jun-16 12:33
Bram van Kampen26-Jun-16 12:33 

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.