Use constant for blocking errnos.
Merge pull request #1044 from schlamar/wouldblock-const

Use constant for blocking errnos.