
24 Dec
2017
24 Dec
'17
7:53 a.m.
Hi,
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
1912
Age (days ago)
1912
Last active (days ago)
0 comments
1 participants
participants (1)
-
ROHIT LADDHA