Example unix socket echo server

Marc Lehmann schmorp at schmorp.de
Mon Nov 1 15:47:53 CET 2010


On Mon, Nov 01, 2010 at 12:05:06PM +0100, Christian Parpart <trapni at gentoo.org> wrote:
> I hardly believe that netcat can do connect to unix sockets. although, we

off-topic, for people who haven't seen it yet: socat can do that, and quite a
lot more. for example, in my perl servers I usually have an interactive
command prompt on a unix socket and then do:

   socat readline /path/to/socket

And instantly have a nice command prompt with history.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the libev mailing list