都没人知道这个吗?还是觉得这个没有意义?
我今天在Winsock的源码里找到一段 0x8000 的定义:
case 0x8000:
if ( OptionLength < sizeof(USHORT) ) {
err = WSAEFAULT;
goto exit;
}
//
// This is the "special" allow-us-to-bind-to-the-zero-address
// hack. Put special stuff in the sin_zero part of the address
// to tell UDP that 0.0.0.0 means bind to that address, rather
// than wildcard.
//
// This feature is needed to allow DHCP to actually bind to
// the zero address.
//