Commit graph

4 commits

Author SHA1 Message Date
Joerg Wunsch
7a5e8bb518 Implement an option -o ("Once only") that allows this netcat utility
to terminate at the first EOF condition on local input (as opposed to
waiting for the network end to shut down).  Can be useful when talking
to network servers that never drop the connection on their end, like
an port 9100 printer server in my case.

I've also submitted that to the OpenBSD maintainer, so in case they
accept, we can later on undo my local patch.

Approved by:	dd (maintainer)
2003-08-31 21:07:23 +00:00
Dima Dorfman
f191bfbe47 Update to 2002/02/22 snapshot.
Tested by:	nectar
2002-02-27 03:22:42 +00:00
Jacques Vidrine
f8f2294d6e Add support for specifying an IPsec policy.
Approved by:	maintainer
2001-10-22 13:40:25 +00:00
Dima Dorfman
40ac86fea4 Add Yet Another incarnation of netcat to the ever-growing ports tree.
This one is a rewrite by one of the OpenBSD folks, and features
cleaner code and IPv6 support (which neither of the others have).
2001-07-04 01:07:06 +00:00