![](/img/trans.png)
[英]C++/STL which algorithm should I use to check if a container has duplicates?
[英]Which method should I use to check if a host is alive in c++?
我正在尋找一些C ++庫/方法來檢查主機是否在我的局域網中(以及指定端口)。 先感謝您 !
你沒有提到平台。 所以我猜是linux。
如果Windows使用iphelper庫-允許ping
https://msdn.microsoft.com/en-us/library/windows/desktop/aa366073%28v=vs.85%29.aspx
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.