Click here to Skip to main content
15,921,959 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhard disk serial number in vista Pin
viral_umang@hotmail.com13-Apr-07 8:59
viral_umang@hotmail.com13-Apr-07 8:59 
AnswerRe: hard disk serial number in vista Pin
bob1697213-Apr-07 9:58
bob1697213-Apr-07 9:58 
QuestionRe: hard disk serial number in vista Pin
viral_umang@hotmail.com13-Apr-07 10:16
viral_umang@hotmail.com13-Apr-07 10:16 
AnswerRe: hard disk serial number in vista Pin
bob1697213-Apr-07 10:45
bob1697213-Apr-07 10:45 
QuestionWhat happens if client CSocket does not process/clear returned package? Pin
zipliu13-Apr-07 5:04
zipliu13-Apr-07 5:04 
AnswerRe: What happens if client CSocket does not process/clear returned package? Pin
Mark Salsbery13-Apr-07 7:28
Mark Salsbery13-Apr-07 7:28 
GeneralRe: What happens if client CSocket does not process/clear returned package? Pin
zipliu13-Apr-07 9:03
zipliu13-Apr-07 9:03 
GeneralRe: What happens if client CSocket does not process/clear returned package? Pin
Mark Salsbery13-Apr-07 11:15
Mark Salsbery13-Apr-07 11:15 
Yes the buffer will fill up on the receiving side. That will cause the sending side not to send
which means the send buffer will fill there as well. On the send side, a blocking socket will
block indefinitely and a non-blocking socket will indicate an WSAEWOULDBLOCK error on subsequent
sends.

If reply/acknowledge data is sent by the server in your communication protocol then it's
probably best to recv it at the client even if you do nothing with it.

I suppose it will work with the buffers full if both ends handle the condition correctly but if
efficiency is important it's best to keep the buffers flushed.

Mark


"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

GeneralRe: What happens if client CSocket does not process/clear returned package? Pin
zipliu13-Apr-07 9:04
zipliu13-Apr-07 9:04 
Questiongroup policy- pls help me Pin
deeps_cute13-Apr-07 5:02
deeps_cute13-Apr-07 5:02 
QuestionApply header programmatically Pin
Al_Pennyworth13-Apr-07 4:23
Al_Pennyworth13-Apr-07 4:23 
AnswerRe: Apply header programmatically Pin
Roger Stoltz13-Apr-07 4:44
Roger Stoltz13-Apr-07 4:44 
AnswerRe: Apply header programmatically Pin
Cedric Moonen13-Apr-07 4:50
Cedric Moonen13-Apr-07 4:50 
AnswerRe: Apply header programmatically Pin
krmed13-Apr-07 5:33
krmed13-Apr-07 5:33 
AnswerRe: Apply header programmatically Pin
Al_Pennyworth13-Apr-07 8:07
Al_Pennyworth13-Apr-07 8:07 
AnswerRe: Apply header programmatically Pin
Michael Dunn13-Apr-07 8:43
sitebuilderMichael Dunn13-Apr-07 8:43 
QuestionClosing a dialog box Pin
llp00na13-Apr-07 4:20
llp00na13-Apr-07 4:20 
AnswerRe: Closing a dialog box Pin
bob1697213-Apr-07 5:02
bob1697213-Apr-07 5:02 
GeneralRe: Closing a dialog box Pin
llp00na13-Apr-07 5:14
llp00na13-Apr-07 5:14 
GeneralRe: Closing a dialog box Pin
bob1697213-Apr-07 5:44
bob1697213-Apr-07 5:44 
GeneralRe: Closing a dialog box Pin
llp00na13-Apr-07 6:21
llp00na13-Apr-07 6:21 
GeneralRe: Closing a dialog box Pin
bob1697213-Apr-07 7:25
bob1697213-Apr-07 7:25 
GeneralRe: Closing a dialog box Pin
llp00na16-Apr-07 1:58
llp00na16-Apr-07 1:58 
QuestionShutdown Pin
prathuraj13-Apr-07 4:13
prathuraj13-Apr-07 4:13 
AnswerRe: Shutdown Pin
Roger Stoltz13-Apr-07 4:24
Roger Stoltz13-Apr-07 4:24 

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.