⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (138 Bytes)
Bug #1177
» test_tcp_client.rb
OlegPuchinin (Oleg Puchinin)
, 02/19/2009 11:23 PM
#!/usr/bin/ruby
require
"socket"
sock
=
TCPSocket
.
new
(
"127.0.0.1"
,
1666
)
p
sock
#sock.eof # BLOCKED. OR
sock
.
eof?
# BLOCKED
puts
"OK"
« Previous
1
2
Next »
(1-1/2)
Loading...