Skip to content

--listen accepts any string as port number #168

@unixwork

Description

@unixwork

The --listen argument accepts any string as a port, not just a number.

    $ wscat --listen notanumber
    Listening on port notanumber (press CTRL+C to quit)

In this case, wscat creates a Unix domain socket, not a TCP socket. I'm not sure if this is intentional, but at least the output suggests that it may be accidental.

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