il Mon, 29 Sep 2003 14:28:08 +0200, Johannes Steigerwald <johannes.steigerwald / ops.de> ha scritto:: >Thanks Guy, > >now, while the perl programme works perfectly fine, I have difficulties >with the TCPSocket version. I tried: > >irb(main):029:0* t=TCPSocket.new('localhost',8530) >#<TCPSocket:0x163000> >irb(main):030:0> t.addr >["AF_INET", 61501, "127.0.0.1", "127.0.0.1"] >irb(main):031:0> t.peeraddr >["AF_INET", 8530, "127.0.0.1", "127.0.0.1"] >irb(main):032:0> t.puts("#$(netutl-client-msg-header >netutl-client-msg-type/gui-blocking \"Perl client\")\r\n") did you considred that 'puts' adds a line separatore by itself ? You should be using print or set the default line saparetor to \r\n