Magnus Kulke wrote:

> flags = flags || O_NONBLOCK;

This evaluates to 1, which is presumably not what you want,
since it is (on POSIX systems) O_WRONLY.

Maybe you meant

flags = flags | O_NONBLOCK;

which you could write as

flags |= O_NONBLOCK;

and avoid errors such as the one above.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to