So ... to avoid confusion in the future I could modify the code to "disconnect" the UDP socket prior to sending the message (slightly more overhead) or I could add code to suppress this specific message - when ECONNREFUSED is returned.
So ... to avoid confusion in the future I could modify the code to "disconnect" the UDP socket prior to sending the message (slightly more overhead) or I could add code to suppress this specific message - when ECONNREFUSED is returned.