Displaying 1 result from an estimated 1 matches for "exceptset".
Did you mean:
excepted
2001 Aug 20
1
Idletimeout patch, third attempt
...G_CHANNEL_DATA:
+ case SSH_CMSG_STDIN_DATA:
+ case SSH_SMSG_STDOUT_DATA:
+ case SSH_SMSG_STDERR_DATA:
+ case SSH2_MSG_CHANNEL_DATA:
+ case SSH2_MSG_CHANNEL_EXTENDED_DATA:
+ time(&idletime_last);
+ }
+}
+
+int
+packet_select(int maxfds,
+ fd_set *readset, fd_set *writeset, fd_set *exceptset,
+ int max_time_milliseconds)
+{
+ struct timeval tv, *tvp=NULL;
+ int ret;
+
+ if (idletimeout>0) {
+ /* Count the time to idletimeout */
+ time_t diff=time(NULL)-idletime_last;
+ if (diff>=idletimeout)
+ tv.tv_sec=1;
+ else
+ tv.tv_sec=id...