s = socket(AF_INET, SOCK_STREAM, 0); int x;x=fcntl(s,F_GETFL,0);fcntl(s,F_SETFL,x | O_NONBLOCK);
↧
Answer by user885074 for bsd sockets connect timeout iPhone
↧
s = socket(AF_INET, SOCK_STREAM, 0); int x;x=fcntl(s,F_GETFL,0);fcntl(s,F_SETFL,x | O_NONBLOCK);