Substitute sendp with conf.L2socket.send [suggestion / enhancement]
Opened this issue · 0 comments
Esser50K commented
I saw that for sending packets the project uses the sendp method from scapy.
I've read in another issue that this project is not necessarily an efficient AP implementation but is rather focusing on versatility.
Despite that, sendp is a slow method for injecting packets, especially if it is a lot of packets. This is because for every sendp call scapy opens a new socket, sends packets and then closes the socket again. Opening and closing sockets is time consuming.
Alternatively you can open an L2socket at the very start of the program and use only that socket for sending packets.