Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Mar 2010 17:41:30 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Eitan Adler <eitanadlerlist@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: creating a socket for use with nc
Message-ID:  <20100325174130.fd9be132.freebsd@edvax.de>
In-Reply-To: <a0777e081003250929y4c4ebcdaia2658ca1ee37c928@mail.gmail.com>
References:  <a0777e081003250929y4c4ebcdaia2658ca1ee37c928@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Mar 2010 18:29:56 +0200, Eitan Adler <eitanadlerlist@gmail.com> wrote:
> I have a program which reads from stdin. I'd like to be able to close
> the terminal it is running in and interact with it via nc -U.
> How can I create a socket which I attach to the stdin of the program?

I think what you want - I'm not sure I understood you
corretly - is a combination of a named pipe created by
the mkfifo program, and the detach program from the
ports collection. 



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100325174130.fd9be132.freebsd>