This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Is there a UNIX socket test client program (a la NetCat)?
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Thu, 11 Aug 2005 03:32:25 -0700
- Subject: Re: Is there a UNIX socket test client program (a la NetCat)?
- References: <md5:90658A50B62BA531A3B262A9D258956F>
- Reply-to: cygwin at cygwin dot com
Herb Martin wrote:
> I have yet to figure out how to work it (I spent about
> an hour with it) so if you know how to get it to work
> interactively with a particular UNIX-CONNECT socket
> I would appreciate the heads up....
It probably depends on what you want to do, and the examples section of
the man page is a good place to look. It could be as simple as:
socat - UNIX-CONNECT:/var/run/foo.sock
That should connect stdin/stdout to the socket, in the same way as
netcat. socat really just boils down to specifying two things to
connect together, and each of those can be any of the various types and
take a myriad of options.
Brian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/