[vlc] Re: [PATCH] Make the "rc" interface plugin [optionally] listen on a socket
Gildas Bazin
gbazin at altern.org
Sun Jul 25 00:55:54 CEST 2004
On Saturday 24 July 2004 10:38, Bernhard Rosenkraenzer wrote:
> The attached patch adds a "--commands-from" option to the rc interface.
>
> Usage:
>
> vlc --intf rc --commands-from 192.168.0.5:1234
>
> -> You can send rc commands using "telnet 192.168.0.5 1234"
>
> Alternatively:
>
> vlc --intf rc --commands-from /tmp/vlc.sck
>
> -> vlc will take the commands from a UNIX socket in /tmp/vlc.sck
>
> Tested on Linux only, but stuff I know not to be portable is #ifdef'ed.
>
Thanks for the patch.
I committed a reworked version which basically uses the network wrappers
provided by VLC. It does simplify the code quite a lot.
--
Gildas
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc
mailing list