Reset fd sets every time we poll (because network.fd() can now change)
This commit is contained in:
@@ -93,6 +93,11 @@ public:
|
||||
FD_SET( fd, &all_fds );
|
||||
}
|
||||
|
||||
void clear_fds( void )
|
||||
{
|
||||
FD_ZERO( &all_fds );
|
||||
}
|
||||
|
||||
void add_signal( int signum )
|
||||
{
|
||||
fatal_assert( signum >= 0 );
|
||||
|
||||
Reference in New Issue
Block a user