[Live-devel] About RTSPServer

Warren Young warren at etr-usa.com
Wed May 25 08:09:47 PDT 2011


On 5/24/2011 11:44 AM, Rune Torgersen wrote:
>> add a
>> setsockopt(SO_REUSEADDR)
>> after the socket() call.
>
> Or call shutdown() on the socket before the close.

No, shutdown() will not let you skip past TIME_WAIT.

The only thing that will is slamming the connection shut with RST, and 
that's no good solution at all.  I've only ever done that when writing 
code to interoperate with a broken peer which I cannot fix.


More information about the live-devel mailing list