<div dir="ltr"><div dir="ltr">My particular use case has my program started and stopped rapidly in short periods of time. But I can't start and stop it like this if I can't quickly re-bind to the rtsp port. Maybe this doesn't have anything to do with my clean up code? Is it related to this: <a href="https://live-devel.live555.narkive.com/0XXB7m6u/rtsp-server-socket-bind-error">https://live-devel.live555.narkive.com/0XXB7m6u/rtsp-server-socket-bind-error</a> ?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 19, 2019 at 10:49 AM Ross Finlayson <<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In general, you can clean up by deleting things in the reverse order from which they were created.<br>
<br>
But why don’t you just call “exit()”?  Why do you need to keep using the process after you’ve gotten rid of the RTSP server?<br>
<br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/" rel="noreferrer" target="_blank">http://www.live555.com/</a><br>
<br>
<br>
_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com" target="_blank">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" rel="noreferrer" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
</blockquote></div>