Skip to content

Research when exactly a UDP connection can fail #1

Description

@not-raspberry

UDP connecion can fail on ICMP level (The destination host responds with 'Port Unreachable' which gets translated to 'Connection Refused' on UDP level). People are experiencing it (http://stackoverflow.com/questions/16130786/why-am-i-getting-the-error-connection-refused-in-python-sockets) however I was unable to reproduce it locally - which is strange because I have dealt with failing UDP connections in the past.

Provide a code that raises socket.error with the proper errno from a UDP connection.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions