
t Send RFC 854 DON'T and WON'T responses to RFC 854 DO and WILL requests. cs7 or a number in either hex or decimal. Reliability, or one of the DiffServ Code Points:Ĭs0. T keyword Change the IPv4 TOS/IPv6 traffic class value. Sockets, specifies the local temporary socket file to create and use so s sourceaddr Set the source address to send packets from, which is useful on machines S Enable the RFC 2385 TCP MD5 signature option. Within a range or in the order that the system assigns them. r Choose source and/or destination ports randomly instead of sequentially Specifying a non-negative seconds implies

Seconds is negative, wait forever (default). q seconds after EOF on stdin, wait the specified number of p source_port Specify the source port nc should use, subject to Proxy authentication is only supported for HTTP CONNECT If no username is specified then authentication will notīe attempted. P proxy_username Specifies a username to present to a proxy server that requiresĪuthentication. O length Specify the size of the TCP send buffer. n Do not perform domain name resolution. Some servers require this to finish their N shutdown(2) the network socketĪfter EOF on the input. m minttl Ask the kernel to drop incoming packets whose TTL / hop limit is under M ttl Set the TTL / hop limit of outgoing packets. Cannot be used together withĪny timeouts specified with the -w option are Non-optional arguments, or with options -s and Port to listen on can be specified either as l Listen for an incoming connection rather than initiating a connection to a It can receive UDP datagrams from multiple hosts. u option, the server socket is not connected and k When a connection is completed, listen for another one. Also causes a delay time between connections to i interval Sleep for interval seconds between lines of text I length Specify the size of the TCP receive buffer. Leave the rest of the connection to another program (e.g. Nc perform connection setup with a proxy but then This is useful in conjunction with -X to have Lineįeed characters that are already preceded with a carriage return (CR) are Each line feed (LF) character from the inputĭata is translated into CR+LF before being written to the socket. The options are as follows: -4 Use IPv4 addresses only.

