Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/tcp_server.cr
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ def process(client)

while msg = client.read_line
puts "#{client_addr} msg '#{msg}'"
client << msg
client.puts msg
end
rescue IO::EOFError
puts "#{client_addr} disconnected"

0 comments on commit d2dcc02

Please sign in to comment.