setsockopt

  • 网络设置超时;接收超时
setsockoptsetsockopt
  1. The Windows Sockets setsockopt function sets a socket option .

    中文解释好像是:设置套接字的选项。

  2. For example , this error occurs when a broadcast address is used for sendto but the broadcast permission is not set by using setsockopt ( SO_BROADCAST ) .

    是例如此错误时发生了广播的地址用于Sendto但广播权限不通过setsockopt(SOBROADCAST)设置的。

  3. Description : An invalid argument ( for example , an argument that specified an invalid level ) was supplied to the setsockopt ( Wsapiref_94aa . asp ) function .

    说明:一个无效参数(而是例如的参数指定了无效的级别)提供给setsockopt(Wsapiref94aa.asp)函数。