Click here to Skip to main content
15,921,990 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Destroying a DoModal dialog Pin
Joan M14-Apr-07 7:36
professionalJoan M14-Apr-07 7:36 
AnswerRe: Destroying a DoModal dialog Pin
Rajesh R Subramanian14-Apr-07 7:42
professionalRajesh R Subramanian14-Apr-07 7:42 
AnswerRe: Destroying a DoModal dialog Pin
Mark Salsbery14-Apr-07 7:42
Mark Salsbery14-Apr-07 7:42 
GeneralRe: Destroying a DoModal dialog Pin
Super Hornet14-Apr-07 7:55
Super Hornet14-Apr-07 7:55 
Questionabout adapter Pin
prathuraj14-Apr-07 4:19
prathuraj14-Apr-07 4:19 
AnswerRe: about adapter Pin
Hamid_RT14-Apr-07 6:36
Hamid_RT14-Apr-07 6:36 
QuestionHow to know whether still connected or not Pin
Kiran Pinjala14-Apr-07 3:19
Kiran Pinjala14-Apr-07 3:19 
AnswerRe: How to know whether still connected or not Pin
Dmitry Khudorozhkov14-Apr-07 7:53
Dmitry Khudorozhkov14-Apr-07 7:53 
You must implement the "heartbeat" messaging between Server and Client.

As MFC solution, you can override the OnClose of CSocket. It will notify the server when connection is closed by the client. Read this:

http://www.developerfusion.co.uk/forums/thread/68299/

Also, read this (read the entire "heartbeat message" thread):

http://www.codeproject.com/internet/jbsocketserver2.asp?df=100&forumid=3969&exp=0&fr=51&select=868014#xx868014xx

Hope it helps,

- Dmitry.

-------------------------
Don't worry, be happy Blush | :O )

Questionclasses in a mfc extended dll, one use another. Pin
eat_union14-Apr-07 2:42
eat_union14-Apr-07 2:42 
QuestionSet point's size Pin
Chen-XuNuo14-Apr-07 1:48
Chen-XuNuo14-Apr-07 1:48 
AnswerRe: Set point's size Pin
Hamid_RT14-Apr-07 6:14
Hamid_RT14-Apr-07 6:14 
QuestionRe: Set point's size Pin
Mark Salsbery14-Apr-07 7:45
Mark Salsbery14-Apr-07 7:45 
AnswerRe: Set point's size Pin
bob1697214-Apr-07 8:30
bob1697214-Apr-07 8:30 
GeneralRe: Set point's size Pin
John R. Shaw14-Apr-07 15:21
John R. Shaw14-Apr-07 15:21 
GeneralRe: Set point's size Pin
bob1697214-Apr-07 16:19
bob1697214-Apr-07 16:19 
GeneralRe: Set point's size Pin
John R. Shaw14-Apr-07 16:54
John R. Shaw14-Apr-07 16:54 
GeneralRe: Set point's size Pin
Chen-XuNuo14-Apr-07 22:05
Chen-XuNuo14-Apr-07 22:05 
GeneralRe: Set point's size Pin
Mark Salsbery15-Apr-07 14:02
Mark Salsbery15-Apr-07 14:02 
QuestionRegarding Error, Please help. Pin
dhavalshah12314-Apr-07 1:00
dhavalshah12314-Apr-07 1:00 
AnswerRe: Regarding Error, Please help. Pin
Hamid_RT14-Apr-07 6:24
Hamid_RT14-Apr-07 6:24 
GeneralRe: Regarding Error, Please help. Pin
Nikhil Trivedi16-Apr-07 0:03
Nikhil Trivedi16-Apr-07 0:03 
GeneralRe: Regarding Error, Please help. Pin
Hamid_RT16-Apr-07 0:45
Hamid_RT16-Apr-07 0:45 
AnswerRe: Regarding Error, Please help. Pin
John R. Shaw14-Apr-07 15:32
John R. Shaw14-Apr-07 15:32 
AnswerRe: Regarding Error, Please help. Pin
Michael Dunn14-Apr-07 21:40
sitebuilderMichael Dunn14-Apr-07 21:40 
Questionto define callback function Pin
zon_cpp14-Apr-07 0:18
zon_cpp14-Apr-07 0:18 

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.