提示:在Change Interface对话框中,上一个接口可能已选择为过滤器,因此您可能需要从过滤器中清除该接口,才能在列表中看到其他接口。
Tip: the previous interface might be selected as the filter in the Change interface dialog box, so you might need to clear that from the filter to see the other interfaces in the list.
设置或者清除套接字的SO_BROADCAST(广播)选项。当该设置生效时,UDP数据包将被发送至本地网络接口的广播地址。
Sets or clears the SO_BROADCAST socket option. When this option is set, UDP packets may be sent to a local interface's broadcast address.
这对于清除设计糟糕的API是必要的:我们常常看见API的实现者从来没有真正使用过他们自己的接口,这导致了可用性不高的灾难性结果。
This is necessary to weed out poor APIs: Too often, the implementers of an API never actually use their own interfaces, with disastrous consequences for usability.
应用推荐