backchannel 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +12 -0
- data/backchannel.gemspec +1 -1
- data/bin/backchannel +2 -5
- data/lib/backchannel/client.rb +1 -1
- data/lib/backchannel/window.rb +1 -0
- metadata +8 -9
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8fd9dc4c57ee38f93ac78e72f64acee228a7fd6f
|
4
|
+
data.tar.gz: 85e5678980b76d91f98380040572629194dc7a85
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1d8459b71257e0aac2950ca18af07754ca2ff0feb96f4b75db9238fa0d4eb3c2b3232158f82ab541dd64ec69466b6ba892d8f5fbb1ece356b86aa7727019c361
|
7
|
+
data.tar.gz: 9cac7bdfd62d3139578c33ec9001c48ce38c4f83fc0207609d8a3b57c54fbea6488c4bbd9e2280e7337a26b6a9c44b147bcc00caa38568069418d9c0eedb3ebd
|
data/README.md
ADDED
data/backchannel.gemspec
CHANGED
data/bin/backchannel
CHANGED
@@ -1,12 +1,9 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
$: << "./lib"
|
4
|
-
|
5
3
|
if handle = ARGV[0]
|
6
4
|
trap(:INT) { abort }
|
7
|
-
|
5
|
+
require_relative "../lib/backchannel"
|
8
6
|
Backchannel.start(handle)
|
9
7
|
else
|
10
|
-
abort "Usage:
|
8
|
+
abort "Usage: backchannel <HANDLE>"
|
11
9
|
end
|
12
|
-
|
data/lib/backchannel/client.rb
CHANGED
@@ -57,7 +57,7 @@ class Client
|
|
57
57
|
@socket ||= UDPSocket.open.tap do |socket|
|
58
58
|
socket.setsockopt(Socket::IPPROTO_IP, Socket::IP_ADD_MEMBERSHIP, bind_address)
|
59
59
|
socket.setsockopt(Socket::IPPROTO_IP, Socket::IP_MULTICAST_TTL, 1)
|
60
|
-
socket.setsockopt(Socket::SOL_SOCKET, Socket::
|
60
|
+
socket.setsockopt(Socket::SOL_SOCKET, Socket::SO_REUSEADDR, 1)
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
data/lib/backchannel/window.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: backchannel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- John Pignata
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-01-30 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
13
|
description: Multicast-based peer-to-peer text chat
|
15
14
|
email:
|
@@ -19,6 +18,7 @@ executables:
|
|
19
18
|
extensions: []
|
20
19
|
extra_rdoc_files: []
|
21
20
|
files:
|
21
|
+
- README.md
|
22
22
|
- backchannel.gemspec
|
23
23
|
- bin/backchannel
|
24
24
|
- lib/backchannel.rb
|
@@ -28,26 +28,25 @@ files:
|
|
28
28
|
homepage: https://github.com/jpignata/backchannel
|
29
29
|
licenses:
|
30
30
|
- MIT
|
31
|
+
metadata: {}
|
31
32
|
post_install_message:
|
32
33
|
rdoc_options: []
|
33
34
|
require_paths:
|
34
35
|
- lib
|
35
36
|
required_ruby_version: !ruby/object:Gem::Requirement
|
36
|
-
none: false
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 1.9.3
|
41
41
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
42
|
requirements:
|
44
|
-
- -
|
43
|
+
- - ">="
|
45
44
|
- !ruby/object:Gem::Version
|
46
45
|
version: '0'
|
47
46
|
requirements: []
|
48
47
|
rubyforge_project:
|
49
|
-
rubygems_version:
|
48
|
+
rubygems_version: 2.2.0
|
50
49
|
signing_key:
|
51
|
-
specification_version:
|
50
|
+
specification_version: 4
|
52
51
|
summary: Sample application from article posted on http://tx.pignata.com
|
53
52
|
test_files: []
|