No such device or address when using sendto() with a raw socket

后端 未结 0 610
孤独总比滥情好
孤独总比滥情好 2021-02-06 01:12

I created the socket socket(PF_PACKET, SOCK_RAW,htons(ETH_P_ALL)); then i used the structure sockaddr_ll so i could give me sendto method a address and

相关标签:
回答
  • 消灭零回复
提交回复
热议问题