wm: doc

ref: aaeb28aa8e5cf5a9fb58b4525d724ad4661f5abd
dir: /netcat.ms/

View raw version
.TL
Replacing Netcat
.AU
jrmu (jrmu@cloud9p.org)
.AI
Cloud9p
.AB
9front alternatives to netcat for Unix users
.AE

.SH
trampoline(8)
.LP
One substitute for
.LN https://wiki.ircnow.org/?n=Netcat.Usage
netcat
.LN
is 
.LN http://man.9front.org/8/trampoline
trampoline(8)
.LN
.

.P1
; aux/trampoline $proto!$hostname!$port
.P2

Replace
.CW $proto
,
.CW $hostname
,
and
.CW $port
.

For example, to connect in plaintext to the IRC server
.CW irc.ircnow.org
on port 6667:
.P1
; aux/trampoline tcp!irc.ircnow.org!6667
.P2

.SH
telnet(1)
.LP
Another substitute is
.LN http://man.9front.org/1/con
telnet(1)
.LN
.

To create a
.CW $proto
netcat connection to
.CW $hostname
and
.CW $port:
.P1
; telnet $proto!$hostname!$port
.P2
To create a netcat connection to use paste.ircnow.org: 
.P1
; telnet -n tcp!paste.ircnow.org!7777 < /path/to/file
.P2  
To upload a file to tcp.st: 
.P1
; telnet -n tcp!tcp.st!7777 < /path/to/file
.P2

.PP
To connect to a webserver, use 
 (carriage return C-m).