Flowdock
method

accept

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: TCPServer
accept() public

TCPServer.open(“127.0.0.1”, 14641) {|serv|

s = serv.accept
s.puts Time.now
s.close

}

Show source
Register or log in to add new notes.