好像没有API可以获取到当前的blocking/nonblocking mode.
但可以从 是否对socket执行了某些调用来判断。When a socket is created, it operates in blocking mode by default (nonblocking mode is disabled). The WSAAsyncSelect and WSAEventSelect functions automatically set a socket to nonblocking mode.