Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Is there a UNIX socket test client program (a la NetCat)? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/