Skip to content

ts-udpsrc: Dup the socket so that both tokio and GIO can take ownership of it

Otherwise both would be closing the same socket, which a) breaks the second user of the socket if any and b) could on the second close cause a completely unrelated socket to be closed.

Windows part of the code is untested.

Merge request reports