Is there a way to determine whether socket is in blocking or non-blocking mode?

Is there a way to determine whether socket is in blocking or non-blocking mode?

Post by Voronkov K » Fri, 26 Sep 2003 16:20:40


Hello All!

I see an API ioctlsocket(). There is only a possibility
to set blocking / non-blocking socket mode. Is there
a way to determine whether socket is in blocking
or non-blocking mode?

Best Regards,
Voronkov Konstantin
 
 
 

Is there a way to determine whether socket is in blocking or non-blocking mode?

Post by arkady » Fri, 26 Sep 2003 17:47:42

No direct way . The only way to remember when you set to non-blocked mode.
Arkady

 
 
 

Is there a way to determine whether socket is in blocking or non-blocking mode?

Post by Voronkov K » Fri, 26 Sep 2003 18:04:43

Thanks

Konstantin

"arkadyf" < XXXX@XXXXX.COM >

> No direct way . The only way to remember when you set to non-blocked mode>
> Arkad>
> "Voronkov Konstanti<" wrote in messag>
>> > Hello All> >> > >> > I see an API ioctlsocket(). There is only a possibilit> >> > to set blocking / non-blocking socket mode. Is ther> >> > a way to determine whether socket is in blockin> >> > or non-blocking mode> >> > >> > Best Regards> >> > Voronkov Konstanti> >> > >> >
>