tech-misc archive

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

Re: nc - unbuffered input



Have you had success with STDBUF* ?  I've had success with STDBUF1=U
when set with setenv() from within the c script itself, but haven't
had any luck at all with STDBUF0=U or STDBUF=U from the command line.

I tried:
$ STDBUF=U
$ export STDBUF
$ nc localhost 65535

JP
On Thu, Dec 13, 2018 at 2:08 PM JP <rlntlss83%gmail.com@localhost> wrote:
>
> I tried that, it wasn't working for me
> On Thu, Dec 13, 2018 at 10:27 AM Kamil Rytarowski <n54%gmx.com@localhost> wrote:
> >
> > On 13.12.2018 15:04, JP wrote:
> > > Might there be another soul that desires a netcat with unbuffered input?
> > >
> > > usage for unbuffered client mode: nc -B localhost 65535
> > >
> > > (I hope the patch comes through ok)
> > >
> >
> > Is it possible to use STDBUF=U in env(1) as documented in setbuf(3)?
> >


Home | Main Index | Thread Index | Old Index