Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Small client for SVDRP
> -----Original Message-----
> From: Lauri Pesonen [mailto:smile@niksula.hut.fi]On Behalf Of Lauri
> Pesonen
> Sent: Sunday, March 16, 2003 3:12 PM
> To: vdr@linuxtv.org
> Subject: [vdr] Re: Small client for SVDRP
>
> If you have devfs enabled, you can say:
>
> echo "hitk power" > /dev/tcp/localhost/2001
>
[ ... ]
>
> Another solution might be to use NetCat (the binary is called
> nc). I don't
> know how big the nc binary is (can't check right now). But again the same
> sleeping problem is present.
>
> --
> Lauri
Thanks for the help.
Both is possible in my system. I have devfs in my kernel and the mini
distribution that is the base of my system has a function limited 'nc'. I
will look, if i can work with it. It has the following options:
[root@zeno bin]# ./nc --help
BusyBox v0.60.5 (2002.11.16-00:09+0000) multi-call binary
Usage: nc [OPTIONS] [IP] [port]
Netcat opens a pipe to IP:port
Options:
-l listen mode, for inbound connects
-p PORT local port number
-e PROG program to exec after connect (dangerous!)
would the call look like this?:
nc -p 2001 127.0.0.1 < echo "hitk power"
Oliver
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index