influence 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/influence.gem +1 -1
- data/lib/influence/server.rb +8 -8
- metadata +1 -1
data/influence.gem
CHANGED
data/lib/influence/server.rb
CHANGED
@@ -30,20 +30,20 @@ module Influence
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def connecting( tcp_socket )
|
33
|
-
Log.info "
|
33
|
+
Log.info "Client connecting #{tcp_socket.addr}"
|
34
34
|
# p tcp_socket.methods
|
35
|
-
#
|
36
|
-
|
37
|
-
|
38
|
-
#
|
35
|
+
# Log.info tcp_socket.getsockname
|
36
|
+
Log.info tcp_socket.peeraddr
|
37
|
+
Log.info tcp_socket.addr
|
38
|
+
# Log.info tcp_socket.count
|
39
39
|
true
|
40
40
|
end
|
41
|
-
def disconnecting(
|
42
|
-
Log.info " -
|
41
|
+
def disconnecting(client_port)
|
42
|
+
Log.info " - Client disconnecting from port #{client_port}"
|
43
43
|
true
|
44
44
|
end
|
45
45
|
def stopping
|
46
|
-
|
46
|
+
Log.info "Influence Server shutting down (#{Process.pid})..."
|
47
47
|
true
|
48
48
|
end
|
49
49
|
end#end Class
|