Skip to content

RemoveListener() creates sockets and throws exceptions #3

@tekhedd

Description

@tekhedd

Stop() can result in an exception thrown when it calls RemoveListener(), if the listener does not exist and the port is in use.

What happens: RemoveListener calls GetEPListener to retrieve the listener that it wants to remove. The listener does not exist, so GetEPListener creates it. The port is in use, and EndPointListener.CreateSocket() throws an exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions