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
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