2017-06-03 15:27:30 -04:00
|
|
|
.Dd February 4, 2015
|
2015-09-19 21:33:04 -04:00
|
|
|
.Dt SFNCD 1
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm sfncd
|
|
|
|
.Nd network connection over sf (server side)
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm sfncd
|
|
|
|
.Ar receive-device
|
2016-02-03 20:07:59 -05:00
|
|
|
.Ar transmit-device
|
2015-09-19 21:33:04 -04:00
|
|
|
.Op Ar server-command
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
|
|
|
communicates with another program over two byte steams and receives a host and
|
|
|
|
port which it connects to using
|
|
|
|
.Xr nc 1
|
|
|
|
or
|
|
|
|
.Ar server-command
|
|
|
|
if specified (with the
|
|
|
|
.Ev HOST
|
|
|
|
and
|
|
|
|
.Ev PORT
|
|
|
|
environment variables set to the parameters).
|
|
|
|
.Pp
|
|
|
|
It receives bytes from
|
|
|
|
.Ar receive-device
|
2017-02-15 16:56:28 -05:00
|
|
|
and sends them to the invoked program.
|
|
|
|
It reads bytes from the invoked program and transmits them through
|
2015-09-19 21:33:04 -04:00
|
|
|
.Ar transmit-device .
|
|
|
|
.Pp
|
|
|
|
The protocol is as described in
|
|
|
|
.Xr sfnc 1 .
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr sf 1 ,
|
|
|
|
.Xr sfnc 1 ,
|
|
|
|
.Xr serial-transfer 7
|