forked from rofl0r/microsocks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
poll() is much nicer and more efficient API than select(), additionally it doesn't require bitsets of 4096 bits which need to be initialized before each call, improving CPU load and, best of all: ain't prone to stack overflow should the user decide to change his OS's fd limit above 4096 and having a fd above that number in use. fixes rofl0r#13 closes rofl0r#16
- Loading branch information
Showing
1 changed file
with
9 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters