aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/udp_server.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mauve/udp_server.rb')
-rw-r--r--lib/mauve/udp_server.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/mauve/udp_server.rb b/lib/mauve/udp_server.rb
index 8649efe..049ea09 100644
--- a/lib/mauve/udp_server.rb
+++ b/lib/mauve/udp_server.rb
@@ -50,7 +50,7 @@ module Mauve
@socket.bind(@ip, @port)
- logger.info("Successfully opened UDP socket on #{@ip}:#{@port}")
+ logger.info("Opened socket on #{@ip}:#{@port}")
end
def close_socket
@@ -64,7 +64,7 @@ module Mauve
logger.debug ex.backtrace.join("\n")
end
- logger.info("Successfully closed UDP socket")
+ logger.info("Closed socket")
end
def main_loop
@@ -83,7 +83,6 @@ module Mauve
packet = @socket.recvfrom(65535)
received_at = MauveTime.now
rescue Errno::EAGAIN, Errno::EWOULDBLOCK => ex
- puts "#{i += 1} + #{ex}"
IO.select([@socket])
retry unless self.should_stop?
end