Skip to content

ncat in sctp listen mode returns without printing received data #1672

@landgraf

Description

@landgraf

Reproducer is as simple as:
echo ncat --sctp -l 2000 | bash

This happens because listen_stream function returns without printing data if select() returns stdin with no data to read (EOF)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions