SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

Ncat v1.0.1

Ncat is covered by the GNU GPL. See the file "COPYING" for details.

Ncat was written to make piping data between hosts easy. There is another featureful tool called "netcat" but it is bidirectional (unlike cat) and doesn't work well in a pipe.

An example:

Start tar'ing up a directory. Ncat will wait for a connection on port 1111 before sending the data:

hostA# tar cz largedir | ncat -o :1111

To save the data on hostB run:

hostB# ncat hostA:1111 > largedir.tar.gz

Ncat also supports reading and writing to regular files.

To get the latest information on ncat visit: http://www.kyne.com.au/~mark/software.html

For information on using ncat read the man page.

Installing

Ncat will use long options if getopt_long() exists on your system. Recent versions of Glibc under Linux have it, on other systems you may need to install GNU getopt for that functionality. ncat will work equally well without GNU getopt.

To install:

# ./configure ; make ; make install

On BSD with GNU getopt installed separately you may need to use different CPPFLAGS/LDFLAGS:

# CPPFLAGS=-I/usr/local/include README=-L/usr/local/lib ./configure # make
# make install

Feel free to email me if you have any problems, comments or suggestions.


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.