FIONBIO
ioctl(0, FIONBIO, &off); /* turn off non-blocking mode */
if (ioctl(s, FIONBIO, &on) == -1)
if (ioctl(s, FIONBIO, &on) == -1)
if (ioctl(s, FIONBIO, &on) == -1)
if(ioctlsocket(s, FIONBIO, &on) != 0) {
if(ioctlsocket(s, FIONBIO, &off) != 0) {
case FIONBIO:
case FIONBIO:
ioctl(tin, FIONBIO, &onoff);
ioctl(tout, FIONBIO, &onoff);
ioctl(net, FIONBIO, &one);
if (ioctl(s_in[0], FIONBIO, &on) == -1)
if (ioctl(s_out[0], FIONBIO, &on) == -1)
if (ioctl(s_err[0], FIONBIO, &on) == -1)
ioctl(m_state.s, FIONBIO, &one);
ioctl(m_state.s, FIONBIO, 0);
if (ioctl(s_in[0], FIONBIO, &on) == -1)
if (ioctl(s_out[0], FIONBIO, &on) == -1)
if (ioctl(s_err[0], FIONBIO, &on) == -1)
if(ioctlsocket(s, FIONBIO, &on) != 0) {
if(ioctlsocket(s, FIONBIO, &off) != 0) {