[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ✘ntrip:// and tcp://
From: |
Gary E. Miller |
Subject: |
Re: ✘ntrip:// and tcp:// |
Date: |
Fri, 15 Oct 2021 11:28:56 -0700 |
Yo Paul!
On Fri, 15 Oct 2021 21:20:39 +0300
Paul Fertser <fercerpav@gmail.com> wrote:
> 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.
It did, and does! It does not exit on disconnect, and handles multiple
simultaineous connections Plus some nice logging of the dropped
conenction.
Thanks!
Gentoo has netcat, openbsd-netcat, and socat as "packages". I epxect
most distros do.
I'll also look at openbsd-netcat and kplex. Kplex looks very nice, but
for simple testing I'd rather stick to common packages.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgppM0K014wcJ.pgp
Description: OpenPGP digital signature
- ✘ntrip:// and tcp://, Gary E. Miller, 2021/10/14
- Re: ✘ntrip:// and tcp://, Fred Wright, 2021/10/14
- Re: ✘ntrip:// and tcp://, Hal Murray, 2021/10/15
- Re: ✘ntrip:// and tcp://, Paul Fertser, 2021/10/15
- Re: ✘ntrip:// and tcp://, Gary E. Miller, 2021/10/15
- Re: ✘ntrip:// and tcp://, Paul Fertser, 2021/10/15
- Re: ✘ntrip:// and tcp://,
Gary E. Miller <=
Re: ✘ntrip:// and tcp://, Nick Taylor, 2021/10/15