TCPSocket represents a TCP/IP client socket. A simple client may look like: require 'socket' s = TCPSocket.new 'localhost', 2000 while line = s.gets # Read ...
確定! 回上一頁