[Top][All Lists]

[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 <> 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


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.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgppM0K014wcJ.pgp
Description: OpenPGP digital signature

reply via email to

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