hwangsaeul / libsrt

Mozilla Public License 2.0
14 stars 3 forks source link

Open caller's socket after running the accept hook #1

Closed xhaakon closed 3 years ago

xhaakon commented 3 years ago

In listener mode, open the socket created for a connecting caller only after its accept hook has been run. This gives the hook an opportunity to set some 'pre' options (like SRTO_RCVBUF) on the socket before it gets passed to srt_accept().