-
Notifications
You must be signed in to change notification settings - Fork 917
Open
Labels
Priority: MediumType: EnhancementIndicates new feature requestsIndicates new feature requests[core]Area: Changes in SRT library coreArea: Changes in SRT library core
Milestone
Description
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...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Priority: MediumType: EnhancementIndicates new feature requestsIndicates new feature requests[core]Area: Changes in SRT library coreArea: Changes in SRT library core