Click here to Skip to main content
16,005,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow redraw images if screen resolution changes? Pin
Supra215-Feb-09 4:09
Supra215-Feb-09 4:09 
AnswerRe: How redraw images if screen resolution changes? Pin
Alexander M.,15-Feb-09 7:34
Alexander M.,15-Feb-09 7:34 
AnswerRe: How redraw images if screen resolution changes? Pin
Hamid_RT15-Feb-09 21:52
Hamid_RT15-Feb-09 21:52 
QuestionCreate a Excel ListBox from C++ Pin
Taubi15-Feb-09 3:59
Taubi15-Feb-09 3:59 
QuestionDetecting Server (Socket) Disconnect? Pin
gvanto15-Feb-09 2:33
gvanto15-Feb-09 2:33 
AnswerRe: Detecting Server (Socket) Disconnect? Pin
Stuart Dootson15-Feb-09 3:09
professionalStuart Dootson15-Feb-09 3:09 
AnswerRe: Detecting Server (Socket) Disconnect? Pin
gvanto16-Feb-09 17:26
gvanto16-Feb-09 17:26 
AnswerRe: Detecting Server (Socket) Disconnect? Pin
Eytukan15-Feb-09 5:48
Eytukan15-Feb-09 5:48 
It simply sucks to go through the junk. Please remove it.

Also, to answer your question, based on my guess, I think you are not talking about a natural disconnect between server & client. TCP is connection oriented, when one breaks it , you should get an exception. But there's one exception, when there's a slight network disruption, the server actually loses it's connection with client, but it acts to be there alive. The client gets notified but the server don't. even the send function wouldn't convey us anything.That's a problem. There we need to set up a ping mechanism. The server asks "Are you all alive".. the clients say "Yes we are". If few client's don't say, they are actually out. We need to remove them from association with server.

I don't remember the scenario so clearly. I did these long before. I'm not sure If I'm right :P. A couple of years before I replied to the same question with a more vivid answer. lol memory's fading. Sigh | :sigh:





OK,. what country just started work for the day ? The ASP.NET forum is flooded with retarded questions. -Christian Graus


Best wishes to Rexx[^]

Questionerror MIDL2020 : error generating type library : SaveAllChanges Failed : Pin
pandit8415-Feb-09 0:19
pandit8415-Feb-09 0:19 
AnswerRe: error MIDL2020 : error generating type library : SaveAllChanges Failed : Pin
Nuri Ismail15-Feb-09 0:49
Nuri Ismail15-Feb-09 0:49 
Questionfatal error C1189: #error : This add-in is for VC++ 6.0 only Pin
pandit8414-Feb-09 23:18
pandit8414-Feb-09 23:18 
AnswerRe: fatal error C1189: #error : This add-in is for VC++ 6.0 only Pin
Stuart Dootson14-Feb-09 23:25
professionalStuart Dootson14-Feb-09 23:25 
GeneralRe: fatal error C1189: #error : This add-in is for VC++ 6.0 only Pin
pandit8414-Feb-09 23:39
pandit8414-Feb-09 23:39 
GeneralRe: fatal error C1189: #error : This add-in is for VC++ 6.0 only Pin
Stuart Dootson15-Feb-09 0:39
professionalStuart Dootson15-Feb-09 0:39 
QuestionCEditView Pin
grassrootkit14-Feb-09 22:44
grassrootkit14-Feb-09 22:44 
AnswerRe: CEditView Pin
grassrootkit14-Feb-09 22:56
grassrootkit14-Feb-09 22:56 
GeneralRe: CEditView Pin
Stuart Dootson14-Feb-09 23:13
professionalStuart Dootson14-Feb-09 23:13 
GeneralRe: CEditView Pin
grassrootkit15-Feb-09 0:50
grassrootkit15-Feb-09 0:50 
GeneralRe: CEditView Pin
Stuart Dootson15-Feb-09 3:01
professionalStuart Dootson15-Feb-09 3:01 
GeneralRe: CEditView Pin
grassrootkit15-Feb-09 5:34
grassrootkit15-Feb-09 5:34 
GeneralRe: CEditView Pin
grassrootkit15-Feb-09 22:31
grassrootkit15-Feb-09 22:31 
GeneralRe: CEditView Pin
Stuart Dootson15-Feb-09 23:30
professionalStuart Dootson15-Feb-09 23:30 
GeneralRe: CEditView Pin
grassrootkit15-Feb-09 22:54
grassrootkit15-Feb-09 22:54 
GeneralRe: CEditView Pin
Stuart Dootson15-Feb-09 23:26
professionalStuart Dootson15-Feb-09 23:26 
AnswerRe: CEditView // Displaying text Pin
grassrootkit14-Feb-09 23:00
grassrootkit14-Feb-09 23:00 

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.