delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <42FB2939.42E141D2@dessent.net> |
Date: | Thu, 11 Aug 2005 03:32:25 -0700 |
From: | Brian Dessent <brian AT dessent DOT net> |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Is there a UNIX socket test client program (a la NetCat)? |
References: | <md5:90658A50B62BA531A3B262A9D258956F> |
X-IsSubscribed: | yes |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |