Click here to Skip to main content
15,903,175 members
Home / Discussions / C#
   

C#

 
AnswerRe: public variables Pin
Le centriste23-Feb-06 3:25
Le centriste23-Feb-06 3:25 
GeneralRe: public variables Pin
ddpn4223-Feb-06 14:22
ddpn4223-Feb-06 14:22 
GeneralRe: public variables Pin
Praveen Nayak23-Feb-06 19:09
Praveen Nayak23-Feb-06 19:09 
GeneralRe: public variables Pin
Le centriste24-Feb-06 1:54
Le centriste24-Feb-06 1:54 
AnswerRe: public variables Pin
StyleGuide23-Feb-06 3:33
StyleGuide23-Feb-06 3:33 
QuestionTransparent Label in Compact Framework? Pin
rnvrnv23-Feb-06 3:08
rnvrnv23-Feb-06 3:08 
Questionhow to check if client still connected to server Pin
batmanAgen23-Feb-06 2:57
batmanAgen23-Feb-06 2:57 
AnswerRe: how to check if client still connected to server Pin
Praveen Nayak23-Feb-06 19:19
Praveen Nayak23-Feb-06 19:19 
Usually in client-server architecture, the initative must be taken by the client to contact the server. The server does not go searching for the client.
A problem similar to yours is also faced by Web Servers like IIS, which maintain a session per client that connects and session takes up memory on the server. So the session must be destroyed when the client disconnects. But web browsers like IE do not inform the server on being closed. So server comes up with a simple mechanism of destroying the session. If the client does not connect for a long time (maybe 15 minutes), the session gets automatically destroyed.

You can adopt a similar concept. Also, a live client could send some dummy ping messages at regular intervals, to keep the session active.


There has to be more to life than just this
GeneralRe: how to check if client still connected to server Pin
batmanAgen23-Feb-06 21:01
batmanAgen23-Feb-06 21:01 
QuestionMicrosoft.DirectX.AudioVideoPlayback.Video Pin
kaka2223-Feb-06 2:12
kaka2223-Feb-06 2:12 
QuestionConstructor overloading Pin
spin vector23-Feb-06 1:56
spin vector23-Feb-06 1:56 
AnswerRe: Constructor overloading Pin
Nicholas Butler23-Feb-06 2:03
sitebuilderNicholas Butler23-Feb-06 2:03 
GeneralRe: Constructor overloading Pin
spin vector23-Feb-06 2:33
spin vector23-Feb-06 2:33 
AnswerRe: Constructor overloading Pin
Guffa23-Feb-06 2:42
Guffa23-Feb-06 2:42 
AnswerRe: Constructor overloading Pin
Nicholas Butler23-Feb-06 2:43
sitebuilderNicholas Butler23-Feb-06 2:43 
Questionthreading problem Pin
Areff23-Feb-06 1:52
Areff23-Feb-06 1:52 
AnswerRe: threading problem Pin
Nicholas Butler23-Feb-06 1:58
sitebuilderNicholas Butler23-Feb-06 1:58 
AnswerRe: threading problem Pin
Le centriste23-Feb-06 3:33
Le centriste23-Feb-06 3:33 
GeneralRe: threading problem Pin
Areff23-Feb-06 4:40
Areff23-Feb-06 4:40 
Questionhow to begining 3d programming with opengl ? Pin
hdv21223-Feb-06 1:33
hdv21223-Feb-06 1:33 
QuestionWindows Start Menu style Pin
Dave McCool23-Feb-06 0:50
Dave McCool23-Feb-06 0:50 
QuestionVideo Application Pin
kaka2223-Feb-06 0:09
kaka2223-Feb-06 0:09 
QuestionOn-Screen-Keyboard manipulating Pin
M-200023-Feb-06 0:08
M-200023-Feb-06 0:08 
QuestionRegarding combobox Pin
A.Grover22-Feb-06 23:54
A.Grover22-Feb-06 23:54 
Question.NET Toolbar Pin
XeoN-Kc22-Feb-06 23:38
XeoN-Kc22-Feb-06 23:38 

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.