creating a socket for use with nc

Polytropon freebsd at edvax.de
Thu Mar 25 16:41:34 UTC 2010


On Thu, 25 Mar 2010 18:29:56 +0200, Eitan Adler <eitanadlerlist at 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, ...


More information about the freebsd-questions mailing list