version 1.50, 2009/06/05 06:47:12 |
version 1.51, 2009/10/22 12:35:53 |
|
|
.Nm |
.Nm |
to script telnet sessions. |
to script telnet sessions. |
.It Fl U |
.It Fl U |
Specifies to use Unix Domain Sockets. |
Specifies to use |
|
.Ux |
|
domain sockets. |
.It Fl u |
.It Fl u |
Use UDP instead of the default option of TCP. |
Use UDP instead of the default option of TCP. |
.It Fl V Ar rdomain |
.It Fl V Ar rdomain |
|
|
.Pp |
.Pp |
.Dl $ nc -s 10.1.2.3 host.example.com 42 |
.Dl $ nc -s 10.1.2.3 host.example.com 42 |
.Pp |
.Pp |
Create and listen on a Unix Domain Socket: |
Create and listen on a |
|
.Ux |
|
domain socket: |
.Pp |
.Pp |
.Dl $ nc -lU /var/tmp/dsocket |
.Dl $ nc -lU /var/tmp/dsocket |
.Pp |
.Pp |