gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ✘ntrip:// and tcp://


From: Paul Fertser
Subject: Re: ✘ntrip:// and tcp://
Date: Fri, 15 Oct 2021 21:20:39 +0300
User-agent: Mutt/1.10.1 (2018-07-13)

On Fri, Oct 15, 2021 at 11:07:25AM -0700, Gary E. Miller wrote:
> The man page is over 3,300 lines long.  Any idea how I could do
> what netcat is doing here:
> 
> $ gpspipe -r | nc -l -p 2948
> 
> a) read from the pipe
> b) listen for tcp on port 2948
> c) on tcp connect to 2948, send piped in data to tcp clien

socat EXEC:'gpspipe -r' TCP-LISTEN:2948,reuseaddr,fork

should do the trick.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav@gmail.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]