From: Djo Date: 2013-06-15T10:42:49+09:00 Subject: Re: Set up local tcpserver that conencts to socket And it does! Read about connecting to localhost ... Or ip from diff computer firewall settings etc not just code here ... Sent from my iPhone On Jun 14, 2013, at 1:07 PM, sto.mar@web.de wrote: > Am 14.06.2013 20:01, schrieb Rs N.: >> require 'socket' >> >> server = TCPServer.new 2000 # Server bind to port 2000 >> loop do >> client = server.accept # Wait for a client to connect >> client.puts "Hello !" >> client.puts "Time is #{Time.now}" >> client.close >> end > > That's an example from the `Socket` documentation. It should work. > > And...? > > > -- > >