need little help regarding monitoring the session

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.
Net_Spy
Naik
Posts: 61
Joined: Sun May 30, 2004 2:05 am

need little help regarding monitoring the session

Postby Net_Spy » Sat Feb 03, 2007 4:19 pm

Assalam walaikum..


Im working on sockets all I need to know is that,how to monitor the session by mean of that is when user conect to the server it start monitoring it and if user user is in ideal mode it should terminate the session.im sure you guys help me.looking for your kind response.


Regards
Net_Spy

lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Sat Feb 03, 2007 5:00 pm

what's "ideal mode"?

Net_Spy
Naik
Posts: 61
Joined: Sun May 30, 2004 2:05 am

Postby Net_Spy » Sun Feb 04, 2007 12:42 am

well by mean of ideal mode is when there is no activity or nothing happen then it disconect the session.im sure now you got it.

Regards
Net_Spy

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Tue Feb 06, 2007 9:42 am

Dear Net_Spy,
Salam,

Net_Spy wrote:well by mean of ideal mode is when there is no activity or nothing happen then it disconect the session.im sure now you got it.


Not sure what you are trying to achieve. But there should be a idle timeout for sockets.

Best Regards.
Farrukh Ahmed

Zaheer
Battalion Havaldaar Major
Posts: 284
Joined: Fri Oct 17, 2003 12:15 am
Location: Karachi
Contact:

Postby Zaheer » Tue Feb 06, 2007 11:19 am

Did you mean when user becomes Idle(without any activity) on server ?
Good Judgement comes from Experience and Experience comes from bad Judgement!!
The more I know, the more I realize I don't know!?
The easiest way to find out is to try Out!!!

Registered Linux user #333501


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest