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...
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
stransmitdeals with that? Shutting down half connections in the right order is critical for proper behavior...