Sha256: bd0d5b5b4dd7d68b9cc351d5da0949f148b082b4271fc40c23f6fc4a07b5ce21
Contents?: true
Size: 327 Bytes
Versions: 13
Compression:
Stored size: 327 Bytes
Contents
Creating a TCP Socket to a specified host and port: socket = tcp_connect('www.example.com',25) # => #<TCPSocket:0xb7bbde6c> Or create a temporary TCP Socket that automatically closes: tcp_connect('www.example.com',1212) do |socket| socket.write("this is just a test\n") puts socket.readline end
Version data entries
13 entries across 13 versions & 1 rubygems