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.

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
Net_Spy
Naik
 
Posts: 61
Joined: Sun May 30, 2004 2:05 am

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

what's "ideal mode"?
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

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
Net_Spy
Naik
 
Posts: 61
Joined: Sun May 30, 2004 2:05 am

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
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

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
Zaheer
Battalion Havaldaar Major
 
Posts: 284
Joined: Fri Oct 17, 2003 12:15 am
WLM: zaheermb20@hotmail.com
Yahoo Messenger: zaheermb2002@yahoo.com
Location: Karachi


Return to “%s” Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron