the process blocked at the established
even after client socket write something and manually flush it unless the client socket close
server = TCPServer.new 2000 # a simple socket server
socket = server.accept
puts "socket established"
msg = socket.read
puts "type: #{msg.class} content: #{msg}"
socket.close