Code:fcntl(sockfd, F_SETFL, O_NONBLOCK);
Code:fcntl(sockfd, F_SETFL, O_NONBLOCK);
Is that not a linux thing? I don't see fcntl() mentioned on MSDN. When I google for it, the examples say include "fcntl.h", the compiler seems to acknowledge the file is there (because it doesn't say file not found) but it still says
When I try and compile if my program calls fcntl().Code:'fcntl': identifier not found 'F_SETFL' : undeclared identifier 'O_NONBLOCK' : undeclared identifier
Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.