24 Dec 2017 24 Dec '17
I used following two libraries for udp listener
*from twisted.internet.protocol import DatagramProtocol* *from twisted.internet import reactor*
When I do reactor.stop(), it processes all the buffered datagram packets. That's fine but it should close the socket connection as well so that it doesn't listen for any new packet. What's happening in my case is that socket is getting a lot of packets continuously. If *reactor.stop()* is called, the process doesn't exit because it's still getting packets from the socket connection. Is this behaviour kept intentionally or we can change it?
Regards Rohit Laddha
Age (days ago)
Last active (days ago)