ioctl with FIONBIO currently not supported, but i think it's not very hard to implement it support. // set non-blocking int opt = 1; ioctl(sock, FIONBIO, &opt);