Click here to Skip to main content
15,902,198 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to notice socket disconnection? Pin
Eytukan1-Apr-07 4:54
Eytukan1-Apr-07 4:54 
GeneralRe: How to notice socket disconnection? Pin
Hamed Musavi1-Apr-07 5:19
Hamed Musavi1-Apr-07 5:19 
GeneralRe: How to notice socket disconnection? Pin
Eytukan1-Apr-07 5:48
Eytukan1-Apr-07 5:48 
GeneralRe: How to notice socket disconnection? Pin
Hamed Musavi1-Apr-07 5:53
Hamed Musavi1-Apr-07 5:53 
GeneralRe: How to notice socket disconnection? Pin
Eytukan1-Apr-07 5:57
Eytukan1-Apr-07 5:57 
AnswerRe: How to notice socket disconnection? Pin
ThatsAlok1-Apr-07 22:29
ThatsAlok1-Apr-07 22:29 
GeneralRe: How to notice socket disconnection? Pin
Hamed Musavi2-Apr-07 1:56
Hamed Musavi2-Apr-07 1:56 
AnswerRe: How to notice socket disconnection? Pin
Sachin R Sangoi2-Apr-07 1:17
Sachin R Sangoi2-Apr-07 1:17 
Hi,
You u can have ur application specific protocol, say keep alive protocol which will send heart beat or a dummy message after every pre - determined interval of time. If the send fails u can get the reason in GetLastError and determine if the client is still alive (connected to network )or down.

Get the facts or facts will get you and when you get them, get them right or they will get you wrong.

Happy Coding Smile | :)

GeneralRe: How to notice socket disconnection? Pin
Hamed Musavi2-Apr-07 1:50
Hamed Musavi2-Apr-07 1:50 
Questionretrieve registry key path from HKEY Pin
bahaa1236541-Apr-07 2:53
bahaa1236541-Apr-07 2:53 
AnswerRe: retrieve registry key path from HKEY Pin
Eytukan1-Apr-07 6:13
Eytukan1-Apr-07 6:13 
GeneralRe: retrieve registry key path from HKEY Pin
bahaa1236541-Apr-07 6:53
bahaa1236541-Apr-07 6:53 
GeneralRe: retrieve registry key path from HKEY Pin
Hamed Musavi1-Apr-07 8:54
Hamed Musavi1-Apr-07 8:54 
AnswerRe: retrieve registry key path from HKEY Pin
Hamid_RT1-Apr-07 18:17
Hamid_RT1-Apr-07 18:17 
AnswerRe: retrieve registry key path from HKEY Pin
ThatsAlok1-Apr-07 22:27
ThatsAlok1-Apr-07 22:27 
QuestionSerial Programming Pin
Guddappa T H1-Apr-07 2:50
Guddappa T H1-Apr-07 2:50 
QuestionRe: Serial Programming Pin
Eytukan1-Apr-07 6:19
Eytukan1-Apr-07 6:19 
AnswerRe: Serial Programming Pin
ThatsAlok1-Apr-07 22:26
ThatsAlok1-Apr-07 22:26 
QuestionWindows Explorer-Style MFC Application - urgent Pin
deeps_cute1-Apr-07 1:55
deeps_cute1-Apr-07 1:55 
AnswerRe: Windows Explorer-Style MFC Application - urgent Pin
Hamed Musavi1-Apr-07 4:50
Hamed Musavi1-Apr-07 4:50 
GeneralRe: Windows Explorer-Style MFC Application - urgent Pin
deeps_cute1-Apr-07 6:26
deeps_cute1-Apr-07 6:26 
GeneralRe: Windows Explorer-Style MFC Application - urgent Pin
Mark Salsbery1-Apr-07 6:54
Mark Salsbery1-Apr-07 6:54 
GeneralRe: Windows Explorer-Style MFC Application - with tree view Pin
deeps_cute1-Apr-07 17:23
deeps_cute1-Apr-07 17:23 
GeneralRe: Windows Explorer-Style MFC Application - with tree view Pin
G Haranadh1-Apr-07 19:55
G Haranadh1-Apr-07 19:55 
GeneralRe: Windows Explorer-Style MFC Application - with tree view Pin
deeps_cute1-Apr-07 20:34
deeps_cute1-Apr-07 20:34 

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.