⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (212 Bytes)
Bug #1177
» test_tcp_server.rb
OlegPuchinin (Oleg Puchinin)
, 02/19/2009 11:23 PM
#!/usr/bin/ruby
require
'gserver'
class
SimpleServer
<
GServer
def
initialize
super
1666
end
def
serve
(
io
)
while
s
=
io
.
gets
end
end
end
s
=
SimpleServer
.
new
s
.
audit
=
true
s
.
start
s
.
join
« Previous
1
2
Next »
(2-2/2)
Loading...