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.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/mauve/udp_server.rb b/lib/mauve/udp_server.rb
index 99bfab1..080a04b 100644
--- a/lib/mauve/udp_server.rb
+++ b/lib/mauve/udp_server.rb
@@ -15,10 +15,15 @@ module Mauve
attr_reader :ip, :port
def initialize
- super
+ #
+ # Set up some defaults.
+ #
self.ip = "127.0.0.1"
self.port = 32741
+ self.poll_every = 0
@socket = nil
+
+ super
end
def ip=(i)