⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (161 Bytes)
Bug #2632
» test.rb
wanabe (_ wanabe)
, 01/23/2010 03:23 AM
require
"socket"
gs
=
TCPServer
.
open
(
0
)
s1
=
TCPSocket
.
open
(
"localhost"
,
gs
.
addr
[
1
])
s2
=
gs
.
accept
s1
.
puts
"foo"
s2
.
puts
"bar"
s1
.
close
p
s2
.
gets
« Previous
1
2
Next »
(1-1/2)
Loading...