Not closing TCP connections when restarting streams
Stopping and restarting streams leaves open TCP connections to localhost. Eventually this stops accepting any more connections.
Easy way to view problem:
-Close any VLC windows
-Open TCPView from sysinternals
-Start cmd and run:
-C:\Program Files\VideoLAN\VLC>vlc.exe http http://streams.videolan.org/streams-videolan/avi/LOTR-Div3.avi
-In TCPView note the 3 connections VLC makes, two to localhost
-Stop the video stream in VLC (do not close the program though)
-Note the two localhost connections still there -Press play in VLC
-Note another 3 connections, one to the stream and two new ones to localhost
VLC does not send a tcp FIN bit to close the established connection. Constant stopping and starting of the stream will add two more localhost connections each time. The only way to stop the connections mounting up is to close the whole application and restart the stream/app. Problem experienced in all versions of Windows (not tested any other OSs) Have used the latest nightly build and still experience it.
If anyone can assist i would be most gratefull!
Thanks in advance