This is a method of DatagramProtocol
class in Twisted. As I understand UDP
protocol doesn't guarantee that someone is listening on the given port even using ConnectedDatagramProtocol
.
Can someone explain to me, when this method is called and how I suppose to check if there is someone listening to my transmission using UDP
?
If the datagram socket is connected, it can receive ICMP Port Unreachable messages via the Sockets API, which presumably maps into calling this method. Note that I am not speaking of the TCP connect operation here, but the Sockets connect() method, which can be called on a UDP socket, and which presumably maps into some method in the API you are using.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With