On Feb 19, 2019, at 11:53 AM, Kevin Bailey <ke...@pudle.io> wrote: > > Maybe this doesn't have anything to do with my clean up code?
Indeed it doesn’t. The “problem” is that Live555 doesn’t set SO_REUSEADDR, which it is technically correct to do: https://stackoverflow.com/a/3233022/142454 You can set it yourself on the RTSP TCP sockets, but then on your head be the consequences! > netstat says that the rtsp port I am using is in the following state > "FIN_WAIT2". After I kill my client then it moves to "TIME_WAIT”. Time to go [re]read Stevens, then: https://amzn.to/2IoH5hY Spoiler: it’s telling you the same thing as above. _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel