For some time now I am trying to swim drown in the vast ocean of Winsock programming. And for the last 7 days I keep saying WTFH. Apparently there is no way (or at least I could not find one) in Winsock to find out if a socket has been already put into non-blocking mode. Something that can be accomplished in the Unix world with very trivial code.
Is it really that hard?