Skip to content

Initial connection with wrong IP address just hangs forever, no useful error message #6

Open
@cstim

Description

@cstim

Use case: If you try to create a connection to a DCOM server (OPCDA Server in my example), but misspelled the IP address. Currently the socket setup just runs forever, but your library already has a timeout setting and the ComTransport also has an event listener to the 'error' event, but you have to do something there that actually signals the failed connection attempt to the client application.

I've filed a proposed solution in #5 which reliably returns an error if the initial connection attempt fails due to e.g. a non-existing IP address.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions