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

C / C++ / MFC

 
Generalsend key to window Pin
Spiritofamerica22-Dec-04 11:49
Spiritofamerica22-Dec-04 11:49 
GeneralRe: send key to window Pin
Antti Keskinen22-Dec-04 12:29
Antti Keskinen22-Dec-04 12:29 
GeneralConverting 2s complement to signed int Pin
Wheatbread22-Dec-04 10:39
Wheatbread22-Dec-04 10:39 
GeneralRe: Converting 2s complement to signed int Pin
Tim Smith22-Dec-04 11:09
Tim Smith22-Dec-04 11:09 
GeneralAnyone know of a pluggin... Pin
Ian Bowler22-Dec-04 9:47
Ian Bowler22-Dec-04 9:47 
GeneralRe: Anyone know of a pluggin... Pin
RChin22-Dec-04 23:18
RChin22-Dec-04 23:18 
GeneralTesting Client socket is alive Pin
kalicharan22-Dec-04 8:39
kalicharan22-Dec-04 8:39 
GeneralRe: Testing Client socket is alive Pin
Henry miller22-Dec-04 9:58
Henry miller22-Dec-04 9:58 
You can't in the general case. Get a copy of TCP/IP illistrated by Richard Stevens to understand why (all volumns). (He died a few years ago, but the book is still worth reading, even if slightly dated)

The short of it is, the only way you know a client is alive is if you send data and it responds, and then you only know it was alive at the time it responded, which is always some time before you got the result. (normaly less than a second, but in the case of space craft can be hours!)

There are TCP/IP keep alives, but the time out is far too long to be useful for most purposes.
Generalfixup error Pin
nainakhawaja22-Dec-04 8:37
nainakhawaja22-Dec-04 8:37 
GeneralRe: fixup error Pin
David Crow22-Dec-04 9:10
David Crow22-Dec-04 9:10 
GeneralDragging rectangle Pin
Anonymous22-Dec-04 8:19
Anonymous22-Dec-04 8:19 
GeneralRe: Dragging rectangle Pin
David Crow22-Dec-04 9:03
David Crow22-Dec-04 9:03 
GeneralRe: Dragging rectangle Pin
Anonymous22-Dec-04 11:45
Anonymous22-Dec-04 11:45 
GeneralRe: Dragging rectangle Pin
John R. Shaw22-Dec-04 16:05
John R. Shaw22-Dec-04 16:05 
GeneralVC6 function template problems Pin
peterchen22-Dec-04 7:47
peterchen22-Dec-04 7:47 
GeneralRe: VC6 function template problems Pin
Antti Keskinen22-Dec-04 13:04
Antti Keskinen22-Dec-04 13:04 
GeneralRe: VC6 function template problems Pin
peterchen22-Dec-04 19:53
peterchen22-Dec-04 19:53 
GeneralSetWindowText gives me headache Pin
toxcct22-Dec-04 7:02
toxcct22-Dec-04 7:02 
GeneralRe: SetWindowText gives me headache Pin
David Crow22-Dec-04 8:18
David Crow22-Dec-04 8:18 
GeneralRe: SetWindowText gives me headache Pin
toxcct22-Dec-04 8:31
toxcct22-Dec-04 8:31 
GeneralRe: SetWindowText gives me headache Pin
toxcct22-Dec-04 8:45
toxcct22-Dec-04 8:45 
GeneralRe: SetWindowText gives me headache Pin
David Crow22-Dec-04 9:00
David Crow22-Dec-04 9:00 
GeneralRe: SetWindowText gives me headache Pin
Rick York22-Dec-04 13:05
mveRick York22-Dec-04 13:05 
GeneralRe: SetWindowText gives me headache Pin
toxcct22-Dec-04 18:43
toxcct22-Dec-04 18:43 
GeneralRe: SetWindowText gives me headache Pin
David Crow23-Dec-04 2:11
David Crow23-Dec-04 2:11 

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.