Click here to Skip to main content
15,904,494 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Threads synchronization problem Pin
lisoft25-Nov-04 17:31
lisoft25-Nov-04 17:31 
GeneralRe: Threads synchronization problem Pin
John R. Shaw25-Nov-04 18:59
John R. Shaw25-Nov-04 18:59 
GeneralRe: Threads synchronization problem Pin
Robert Bielik25-Nov-04 20:20
Robert Bielik25-Nov-04 20:20 
GeneralBreakpoints stopped breaking... Pin
herbert_chow25-Nov-04 13:48
herbert_chow25-Nov-04 13:48 
GeneralRe: Breakpoints stopped breaking... Pin
John R. Shaw25-Nov-04 18:44
John R. Shaw25-Nov-04 18:44 
GeneralRe: Breakpoints stopped breaking... Pin
herbert_chow26-Nov-04 7:37
herbert_chow26-Nov-04 7:37 
GeneralUsing VC++ DLLs as webservices Pin
CCSst25-Nov-04 13:26
CCSst25-Nov-04 13:26 
Question8 byte long integer? how? Pin
Kuniva25-Nov-04 10:27
Kuniva25-Nov-04 10:27 
AnswerRe: 8 byte long integer? how? Pin
Joaquín M López Muñoz25-Nov-04 11:35
Joaquín M López Muñoz25-Nov-04 11:35 

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.