Click here to Skip to main content
15,889,335 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Modal MessgeBox Problem Pin
moobob20-Aug-02 9:20
moobob20-Aug-02 9:20 
GeneralRe: Modal MessgeBox Problem Pin
moobob20-Aug-02 9:31
moobob20-Aug-02 9:31 
GeneralRe: Modal MessgeBox Problem Pin
Mustafa Demirhan20-Aug-02 10:07
Mustafa Demirhan20-Aug-02 10:07 
GeneralCEdit::ReplaceSel Help Needed Pin
Cerb20-Aug-02 7:10
Cerb20-Aug-02 7:10 
GeneralRe: CEdit::ReplaceSel Help Needed Pin
Ravi Bhavnani20-Aug-02 7:35
professionalRavi Bhavnani20-Aug-02 7:35 
GeneralRe: CEdit::ReplaceSel Help Needed Pin
Stephane Rodriguez.20-Aug-02 7:37
Stephane Rodriguez.20-Aug-02 7:37 
GeneralRe: CEdit::ReplaceSel Help Needed Pin
Cerb20-Aug-02 7:45
Cerb20-Aug-02 7:45 
GeneralSocket recv question Pin
Todd Smith20-Aug-02 6:51
Todd Smith20-Aug-02 6:51 
This is what MSDN says on recv

If the socket is connection oriented and the remote side has shut down the connection gracefully, and all data has been received, a recv will complete immediately with zero bytes received. If the connection has been reset, a recv will fail with the error WSAECONNRESET.

and then

If no error occurs, recv returns the number of bytes received. If the connection has been gracefully closed, the return value is zero. Otherwise, a value of SOCKET_ERROR is returned, and a specific error code can be retrieved by calling WSAGetLastError.

The first paragraphs says if all data has been received. Is there ever a case where recv returns 0 for a few cycles but then continues receiving data or does 0 mean dead?

Todd Smith
GeneralRe: Socket recv question Pin
Le centriste20-Aug-02 7:10
Le centriste20-Aug-02 7:10 
GeneralRe: Socket recv question Pin
Len Holgate20-Aug-02 7:09
Len Holgate20-Aug-02 7:09 
GeneralDirectshow Pin
Zizilamoroso20-Aug-02 6:45
Zizilamoroso20-Aug-02 6:45 
GeneralRe: Directshow Pin
Stephane Rodriguez.20-Aug-02 7:33
Stephane Rodriguez.20-Aug-02 7:33 
GeneralRe: Directshow Pin
Zizilamoroso20-Aug-02 22:47
Zizilamoroso20-Aug-02 22:47 
Generalbutton focus on w2k Pin
gdourmap@lemel.fr20-Aug-02 6:40
sussgdourmap@lemel.fr20-Aug-02 6:40 
Generaldifference between overwrite PretanslateMessage And OnDefWindowProc Pin
Rene De La Garza20-Aug-02 6:40
Rene De La Garza20-Aug-02 6:40 
GeneralShowing content of wnd while moving Pin
MaTrIX2k220-Aug-02 6:29
MaTrIX2k220-Aug-02 6:29 
GeneralCalculate bounding rect of text __@_y Pin
BlackSmith20-Aug-02 5:41
BlackSmith20-Aug-02 5:41 
GeneralRe: Calculate bounding rect of text __@_y Pin
Roger Allen20-Aug-02 5:49
Roger Allen20-Aug-02 5:49 
GeneralRe: Calculate bounding rect of text __@_y Pin
Ravi Bhavnani20-Aug-02 7:37
professionalRavi Bhavnani20-Aug-02 7:37 
GeneralHelp: named pipe Pin
tfElep20-Aug-02 5:20
tfElep20-Aug-02 5:20 
GeneralRe: Help: named pipe Pin
PJ Arends20-Aug-02 6:07
professionalPJ Arends20-Aug-02 6:07 
GeneralRe: Help: named pipe Pin
Philip Fitzsimons20-Aug-02 6:14
Philip Fitzsimons20-Aug-02 6:14 
Generalfile fopen... Pin
pnpfriend20-Aug-02 4:48
pnpfriend20-Aug-02 4:48 
GeneralRe: file fopen... Pin
Lakitu20-Aug-02 4:55
Lakitu20-Aug-02 4:55 
GeneralRe: file fopen... Pin
pnpfriend20-Aug-02 5:17
pnpfriend20-Aug-02 5:17 

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.