Skip to content

Add srt_shutdown() to the SRT API #478

@gegles

Description

@gegles

The standard POSIX socket API has a int shutdown(int socket, int how) method that allows "all or part of a full-duplex connection on the socket associated with the file descriptor socket to be shut down".

There is no srt_shutdown() equivalent. Would it be possible to add? Any thoughts as to how I could emulate this for now? Would sending an empty msg do the trick? (haven't tried yet).

This is especially needed/useful when building some kind of proxy to/from SRT to another protocol... I wonder how stransmit deals with that? Shutting down half connections in the right order is critical for proper behavior...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions