Lines Matching full:example

367 For example:
392 The example in the previous section can be expanded to build a
408 .Dl $ nc -N host.example.com 1234 \*(Lt filename.in
418 For example, to retrieve the home page of a web site:
420 $ printf "GET / HTTP/1.0\er\en\er\en" | nc host.example.com 80
430 As another example, an email may be submitted to an SMTP server using:
433 HELO host.example.com
434 MAIL FROM:\*(Ltuser@host.example.com\*(Gt
435 RCPT TO:\*(Ltuser2@host.example.com\*(Gt
451 For example:
453 $ nc -z host.example.com 20-30
454 Connection to host.example.com 22 port [tcp/ssh] succeeded!
455 Connection to host.example.com 25 port [tcp/smtp] succeeded!
471 $ echo "QUIT" | nc host.example.com 20-30
474 220 host.example.com IMS SMTP Receiver Version 0.84 Ready
477 Open a TCP connection to port 42 of host.example.com, using port 31337 as
480 .Dl $ nc -p 31337 -w 5 host.example.com 42
482 Open a UDP connection to port 53 of host.example.com:
484 .Dl $ nc -u host.example.com 53
486 Open a TCP connection to port 42 of host.example.com using 10.1.2.3 as the
489 .Dl $ nc -s 10.1.2.3 host.example.com 42
491 Open a TCP connection to port 42 of host.example.com using IPsec ESP for
494 .Dl $ nc -E host.example.com 42
496 Open a TCP connection to port 42 of host.example.com using IPsec ESP for
499 .Dl $ nc -e 'out ipsec esp/transport//require' host.example.com 42
507 Connect to port 42 of host.example.com via an HTTP proxy at 10.2.3.4,
509 This example could also be used by
517 .Dl $ nc -x10.2.3.4:8080 -Xconnect host.example.com 42
519 The same example again, this time enabling proxy authentication with username
523 .Dl $ nc -x10.2.3.4:8080 -Xconnect -Pruser host.example.com 42