Receiving Broadcast Packets in Python

后端 未结 3 2066
無奈伤痛
無奈伤痛 2020-12-13 18:39

I have the following code which sends a udp packet that is broadcasted in the subnet.

from socket import *
s=socket(AF_INET, SOCK_DGRAM)
s.setso         


        
3条回答
提交回复
热议问题