Click here to Skip to main content
15,920,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: fail to envoke shutdown socket function. Pin
John R. Shaw27-Nov-04 5:26
John R. Shaw27-Nov-04 5:26 
GeneralMFC App for Threads & Virtual Memory Pin
skysurf26-Nov-04 0:51
skysurf26-Nov-04 0:51 
GeneralRe: MFC App for Threads & Virtual Memory Pin
suiram4026-Nov-04 7:14
suiram4026-Nov-04 7:14 
GeneralI need a Win32 based Source code Pin
ThatsAlok26-Nov-04 0:27
ThatsAlok26-Nov-04 0:27 
GeneralRe: I need a Win32 based Source code Pin
PJ Arends26-Nov-04 8:10
professionalPJ Arends26-Nov-04 8:10 
GeneralRe: I need a Win32 based Source code Pin
ThatsAlok26-Nov-04 17:13
ThatsAlok26-Nov-04 17:13 
Generalupdate resource Pin
vrajarathnam26-Nov-04 0:22
vrajarathnam26-Nov-04 0:22 
GeneralC++ Excel file writer Pin
magicbassfr26-Nov-04 0:09
magicbassfr26-Nov-04 0:09 
GeneralRe: C++ Excel file writer Pin
BadJerry13-Apr-06 22:24
BadJerry13-Apr-06 22:24 
Generali need Imgocxd.hlp Pin
25-Nov-04 22:56
suss25-Nov-04 22:56 
GeneralGlobal mesage hook issues Pin
vishalmore25-Nov-04 22:01
vishalmore25-Nov-04 22:01 
GeneralRe: Global mesage hook issues Pin
vishalmore26-Nov-04 20:22
vishalmore26-Nov-04 20:22 
Generalload multiple image (both photo1 and photo2) Pin
vc-programmer-25-Nov-04 19:59
vc-programmer-25-Nov-04 19:59 
GeneralRe: load multiple image (both photo1 and photo2) Pin
Anonymous25-Nov-04 21:49
Anonymous25-Nov-04 21:49 
GeneralRe: load multiple image (both photo1 and photo2) Pin
namaskaaram25-Nov-04 22:04
namaskaaram25-Nov-04 22:04 
GeneralRe:Thank You Pin
vc-programmer-25-Nov-04 22:32
vc-programmer-25-Nov-04 22:32 
Generalasync socket problem Pin
User 58385225-Nov-04 18:12
User 58385225-Nov-04 18:12 
I have a socket server application that uses async sockets and a completeion port.

We have installed it at a new client site in Sydney and they have some users in London, Sydney and New York. The London users only are reporting that the client application gets disconnected from time to time. This is not reproducible using the UAT environment at the client site.

Sometimes when we call ::send() in the server SOCKET_ERROR is returned and WSAGetLastError() returns WSAEWOULDBLOCK. I believe this is because windows is still performing the last send operation on this socket.

In this case we call ::select() with the socket in the writefds param and a timeout. This code has always worked successfully in the past. What I find now is that for these London users ::select()is returning a value other than 1. Unfortunately the exact value returned is not logged by the sever. I have had the customer increase the timeout value that is passed to the ::select() call but it is still failing. Anyone got any bright ideas?

GeneralRe: async socket problem Pin
Tim Deveaux26-Nov-04 4:36
Tim Deveaux26-Nov-04 4:36 
GeneralWriteFile API Pin
Archer28225-Nov-04 17:09
Archer28225-Nov-04 17:09 
GeneralRe: WriteFile API Pin
Ryan Binns25-Nov-04 17:17
Ryan Binns25-Nov-04 17:17 
GeneralRe: WriteFile API Pin
Archer28225-Nov-04 19:17
Archer28225-Nov-04 19:17 
GeneralRe: WriteFile API Pin
Ryan Binns25-Nov-04 19:35
Ryan Binns25-Nov-04 19:35 
GeneralThreads synchronization problem Pin
lisoft25-Nov-04 14:26
lisoft25-Nov-04 14:26 
GeneralRe: Threads synchronization problem Pin
PJ Arends25-Nov-04 15:37
professionalPJ Arends25-Nov-04 15:37 
GeneralRe: Threads synchronization problem Pin
John M. Drescher25-Nov-04 15:41
John M. Drescher25-Nov-04 15:41 

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.