Re: [Live-devel] RTSP server socket bind error

2011-07-25 Thread Stathis Voukelatos
Hi Ross, Thanks for your reply. I agree that SO_LINGER is not the recommended way of getting round the TIME_WAIT state. I had a closer look at the RTSP server code and realized that the SO_REUSEADDR option is turned off at the server socket in RTSPServer::setUpOurSocket() and that is why the

[Live-devel] RTSP server socket bind error

2011-07-21 Thread Stathis Voukelatos
Hi, I run the 'testH264VideoStreamer' app and view the video with an RTSP client (eg VLC). If I kill 'testH264VideoStreamer' while the client is connected and then try to run it again straight away I get the following error: Failed to create RTSP server: bind() error (port number: 85