Created
June 10, 2009 00:40
-
-
Save sarahhodne/126938 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
select() # Does it's magic | |
# if statements to check what was written to | |
if FD_ISSET(blah) { | |
} | |
if FD_ISSET(ssl_socket) { | |
# An SSL socket was written to | |
SSL_read() | |
if SSL_pending() { | |
read data | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment