Printing all destination IP addresses using C++

允我心安 提交于 2020-04-18 12:38:24

问题


Is there any way to print all of the IP addresses that I'm sending packets to using C++ on Windows? I've tried to sniff my traffic with WinSock2 but I had to run my code with administrator permissions. Is there any way to do it with user permissions too?

来源:https://stackoverflow.com/questions/60677807/printing-all-destination-ip-addresses-using-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!