def bind(self,address):
self.sock.bind((address,0))
#self.sock.ioctl(socket.SIO_RCVALL, socket.RCVALL_ON)
return IcmpSocket
python类RCVALL_ON的实例源码
def bind(self,address):
self.sock.bind((address,0))
#self.sock.ioctl(socket.SIO_RCVALL, socket.RCVALL_ON)
return IcmpSocket