Re: [edk2] Socket connection non-blocking

2013-12-05 Thread Daniel Moura
Here is a simple application that demonstrates the issue. -C file- #include #include #include #include #include #include #include #include #include #include int main() { int s; int opts; struct sockaddr_in addr

[edk2] Socket connection non-blocking

2013-12-03 Thread Daniel Moura
I'm trying to use select() in a non-blocking connection with O_NONBLOCK applied before connect(), but, connect() returns -1 and errno == "Device not configured". If I don't set the O_NONBLOCK flags the connection works fine, but with blocking behaviour using the default timeout. Someone has any ide