doc/Ionian/Extension/Socket.html in ionian-0.6.4 vs doc/Ionian/Extension/Socket.html in ionian-0.6.5
- old
+ new
@@ -4,22 +4,22 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
Module: Ionian::Extension::Socket
- — Documentation by YARD 0.8.7.3
+ — Documentation by YARD 0.8.7.4
</title>
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
<script type="text/javascript" charset="utf-8">
hasFrames = window.top.frames.main ? true : false;
relpath = '../../';
- framesUrl = "../../frames.html#!" + escape(window.location.href);
+ framesUrl = "../../frames.html#!Ionian/Extension/Socket.html";
</script>
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
@@ -198,10 +198,60 @@
<ul class="summary">
<li class="public ">
<span class="summary_signature">
+ <a href="#broadcast-instance_method" title="#broadcast (instance method)">- (Object) <strong>broadcast</strong> </a>
+
+
+
+ (also: #broadcast?)
+
+ </span>
+
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'>
+<p>Returns true if sending broadcast datagrams is permitted.</p>
+</div></span>
+
+</li>
+
+
+ <li class="public ">
+ <span class="summary_signature">
+
+ <a href="#broadcast%3D-instance_method" title="#broadcast= (instance method)">- (Object) <strong>broadcast=</strong>(value) </a>
+
+
+
+ </span>
+
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'>
+<p>Permit sending broadcast datagrams if true.</p>
+</div></span>
+
+</li>
+
+
+ <li class="public ">
+ <span class="summary_signature">
+
<a href="#cork-instance_method" title="#cork (instance method)">- (Object) <strong>cork</strong> </a>
(also: #cork?)
@@ -660,10 +710,64 @@
<li class="public ">
<span class="summary_signature">
+ <a href="#linger-instance_method" title="#linger (instance method)">- (Object) <strong>linger</strong> </a>
+
+
+
+ (also: #linger?)
+
+ </span>
+
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'>
+<p>For connection-oriented protocols, prevent #close from returning
+immediately and try to deliver any data in the send buffer if value is
+true.</p>
+</div></span>
+
+</li>
+
+
+ <li class="public ">
+ <span class="summary_signature">
+
+ <a href="#linger%3D-instance_method" title="#linger= (instance method)">- (Object) <strong>linger=</strong>(value) </a>
+
+
+
+ </span>
+
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'>
+<p>For connection-oriented protocols, prevent #close from returning
+immediately and try to deliver any data in the send buffer if value is
+true.</p>
+</div></span>
+
+</li>
+
+
+ <li class="public ">
+ <span class="summary_signature">
+
<a href="#multicast-instance_method" title="#multicast (instance method)">- (Object) <strong>multicast</strong> </a>
(also: #multicast?)
@@ -900,11 +1004,11 @@
20</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 17</span>
-<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_extended'>extended</span><span class='lparen'>(</span><span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
+<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_extended'>extended</span> <span class='id identifier rubyid_obj'>obj</span>
<span class='id identifier rubyid_obj'>obj</span><span class='period'>.</span><span class='id identifier rubyid_extend'>extend</span> <span class='const'>Ionian</span><span class='op'>::</span><span class='const'>Extension</span><span class='op'>::</span><span class='const'>IO</span>
<span class='id identifier rubyid_obj'>obj</span><span class='period'>.</span><span class='id identifier rubyid_initialize_ionian_socket'>initialize_ionian_socket</span>
<span class='kw'>end</span></pre>
</td>
</tr>
@@ -935,18 +1039,18 @@
<tr>
<td>
<pre class="lines">
-238
-239
-240</pre>
+276
+277
+278</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 238</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 276</span>
-<span class='kw'>def</span> <span class='id identifier rubyid_multicast'>multicast</span><span class='lparen'>(</span><span class='id identifier rubyid_address'>address</span><span class='rparen'>)</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_multicast'>multicast</span> <span class='id identifier rubyid_address'>address</span>
<span class='id identifier rubyid_address'>address</span> <span class='op'>>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>224.0.0.0</span><span class='tstring_end'>'</span></span> <span class='kw'>and</span> <span class='id identifier rubyid_address'>address</span> <span class='op'><=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>239.255.255.255</span><span class='tstring_end'>'</span></span> <span class='op'>?</span> <span class='kw'>true</span> <span class='op'>:</span> <span class='kw'>false</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -976,18 +1080,18 @@
<tr>
<td>
<pre class="lines">
-242
-243
-244</pre>
+280
+281
+282</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 242</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 280</span>
-<span class='kw'>def</span> <span class='id identifier rubyid_multicast'>multicast</span><span class='lparen'>(</span><span class='id identifier rubyid_address'>address</span><span class='rparen'>)</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_multicast'>multicast</span> <span class='id identifier rubyid_address'>address</span>
<span class='id identifier rubyid_address'>address</span> <span class='op'>>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>224.0.0.0</span><span class='tstring_end'>'</span></span> <span class='kw'>and</span> <span class='id identifier rubyid_address'>address</span> <span class='op'><=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>239.255.255.255</span><span class='tstring_end'>'</span></span> <span class='op'>?</span> <span class='kw'>true</span> <span class='op'>:</span> <span class='kw'>false</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -998,12 +1102,104 @@
<div id="instance_method_details" class="method_details_list">
<h2>Instance Method Details</h2>
<div class="method_details first">
- <h3 class="signature first" id="cork-instance_method">
+ <h3 class="signature first" id="broadcast-instance_method">
+ - (<tt>Object</tt>) <strong>broadcast</strong>
+
+
+
+ <span class="aliases">Also known as:
+ <span class="names"><span id='broadcast?-instance_method'>broadcast?</span></span>
+ </span>
+
+
+
+</h3><div class="docstring">
+ <div class="discussion">
+
+<p>Returns true if sending broadcast datagrams is permitted. ( SO_BROADCAST )</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+</div><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+29
+30
+31
+32
+33</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 29</span>
+
+<span class='kw'>def</span> <span class='id identifier rubyid_broadcast'>broadcast</span>
+ <span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_getsockopt'>getsockopt</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>SOL_SOCKET</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>SO_BROADCAST</span><span class='rparen'>)</span><span class='period'>
+</span><span class='id identifier rubyid_ .data'> .data</span><span class='period'>.</span><span class='id identifier rubyid_unpack'>unpack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>i</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
+ <span class='id identifier rubyid_param'>param</span> <span class='op'>></span> <span class='int'>0</span> <span class='op'>?</span> <span class='kw'>true</span> <span class='op'>:</span> <span class='kw'>false</span>
+<span class='kw'>end</span></pre>
+ </td>
+ </tr>
+</table>
+</div>
+
+ <div class="method_details ">
+ <h3 class="signature " id="broadcast=-instance_method">
+
+ - (<tt>Object</tt>) <strong>broadcast=</strong>(value)
+
+
+
+
+
+</h3><div class="docstring">
+ <div class="discussion">
+
+<p>Permit sending broadcast datagrams if true. ( SO_BROADCAST )</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+</div><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+37
+38
+39
+40</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 37</span>
+
+<span class='kw'>def</span> <span class='id identifier rubyid_broadcast='>broadcast=</span> <span class='id identifier rubyid_value'>value</span>
+ <span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span> <span class='op'>?</span> <span class='int'>1</span> <span class='op'>:</span> <span class='int'>0</span>
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_setsockopt'>setsockopt</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>SOL_SOCKET</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>SO_BROADCAST</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='id identifier rubyid_param'>param</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_pack'>pack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>i</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
+<span class='kw'>end</span></pre>
+ </td>
+ </tr>
+</table>
+</div>
+
+ <div class="method_details ">
+ <h3 class="signature " id="cork-instance_method">
+
- (<tt>Object</tt>) <strong>cork</strong>
<span class="aliases">Also known as:
@@ -1028,18 +1224,18 @@
<tr>
<td>
<pre class="lines">
-80
-81
-82
-83
-84</pre>
+118
+119
+120
+121
+122</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 80</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 118</span>
<span class='kw'>def</span> <span class='id identifier rubyid_cork'>cork</span>
<span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_getsockopt'>getsockopt</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_TCP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>TCP_CORK</span><span class='rparen'>)</span><span class='period'>
</span><span class='id identifier rubyid_ .data'> .data</span><span class='period'>.</span><span class='id identifier rubyid_unpack'>unpack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>i</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
<span class='id identifier rubyid_param'>param</span> <span class='op'>></span> <span class='int'>0</span> <span class='op'>?</span> <span class='kw'>true</span> <span class='op'>:</span> <span class='kw'>false</span>
@@ -1076,19 +1272,19 @@
<tr>
<td>
<pre class="lines">
-96
-97
-98
-99</pre>
+134
+135
+136
+137</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 96</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 134</span>
-<span class='kw'>def</span> <span class='id identifier rubyid_cork='>cork=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_cork='>cork=</span> <span class='id identifier rubyid_value'>value</span>
<span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span> <span class='op'>?</span> <span class='int'>1</span> <span class='op'>:</span> <span class='int'>0</span>
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_setsockopt'>setsockopt</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_TCP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>TCP_CORK</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='id identifier rubyid_param'>param</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_pack'>pack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>i</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
</tr>
@@ -1162,24 +1358,24 @@
<tr>
<td>
<pre class="lines">
-114
-115
-116
-117
-118
-119
-120
-121
-122</pre>
+152
+153
+154
+155
+156
+157
+158
+159
+160</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 114</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 152</span>
-<span class='kw'>def</span> <span class='id identifier rubyid_ip_add_membership'>ip_add_membership</span><span class='lparen'>(</span><span class='id identifier rubyid_address'>address</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_interface'>interface</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_ip_add_membership'>ip_add_membership</span> <span class='id identifier rubyid_address'>address</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_interface'>interface</span> <span class='op'>=</span> <span class='kw'>nil</span>
<span class='id identifier rubyid_address'>address</span> <span class='op'>||=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_remote_address'>remote_address</span><span class='period'>.</span><span class='id identifier rubyid_ip_address'>ip_address</span>
<span class='id identifier rubyid_interface'>interface</span> <span class='op'>||=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.0.0.0</span><span class='tstring_end'>'</span></span>
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_setsockopt'>setsockopt</span> \
<span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_IP</span><span class='comma'>,</span>
@@ -1218,24 +1414,24 @@
<tr>
<td>
<pre class="lines">
-130
-131
-132
-133
-134
-135
-136
-137
-138</pre>
+168
+169
+170
+171
+172
+173
+174
+175
+176</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 130</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 168</span>
-<span class='kw'>def</span> <span class='id identifier rubyid_ip_drop_membership'>ip_drop_membership</span><span class='lparen'>(</span><span class='id identifier rubyid_address'>address</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_interface'>interface</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_ip_drop_membership'>ip_drop_membership</span> <span class='id identifier rubyid_address'>address</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_interface'>interface</span> <span class='op'>=</span> <span class='kw'>nil</span>
<span class='id identifier rubyid_address'>address</span> <span class='op'>||=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_remote_address'>remote_address</span><span class='period'>.</span><span class='id identifier rubyid_ip_address'>ip_address</span>
<span class='id identifier rubyid_interface'>interface</span> <span class='op'>||=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.0.0.0</span><span class='tstring_end'>'</span></span>
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_setsockopt'>setsockopt</span> \
<span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_IP</span><span class='comma'>,</span>
@@ -1271,17 +1467,17 @@
<tr>
<td>
<pre class="lines">
-142
-143
-144
-145</pre>
+180
+181
+182
+183</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 142</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 180</span>
<span class='kw'>def</span> <span class='id identifier rubyid_ip_multicast_if'>ip_multicast_if</span>
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_getsockopt'>getsockopt</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_IP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IP_MULTICAST_IF</span><span class='rparen'>)</span><span class='period'>
</span><span class='id identifier rubyid_ .data'> .data</span><span class='period'>.</span><span class='id identifier rubyid_unpack'>unpack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>CCCC</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
@@ -1314,23 +1510,23 @@
<tr>
<td>
<pre class="lines">
-149
-150
-151
-152
-153
-154
-155
-156</pre>
+187
+188
+189
+190
+191
+192
+193
+194</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 149</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 187</span>
-<span class='kw'>def</span> <span class='id identifier rubyid_ip_multicast_if='>ip_multicast_if=</span><span class='lparen'>(</span><span class='id identifier rubyid_interface'>interface</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_ip_multicast_if='>ip_multicast_if=</span> <span class='id identifier rubyid_interface'>interface</span> <span class='op'>=</span> <span class='kw'>nil</span>
<span class='id identifier rubyid_interface'>interface</span> <span class='op'>||=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.0.0.0</span><span class='tstring_end'>'</span></span>
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_setsockopt'>setsockopt</span> \
<span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_IP</span><span class='comma'>,</span>
<span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IP_MULTICAST_IF</span><span class='comma'>,</span>
@@ -1370,18 +1566,18 @@
<tr>
<td>
<pre class="lines">
-173
-174
-175
-176
-177</pre>
+211
+212
+213
+214
+215</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 173</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 211</span>
<span class='kw'>def</span> <span class='id identifier rubyid_ip_multicast_loop'>ip_multicast_loop</span>
<span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_getsockopt'>getsockopt</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_IP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IP_MULTICAST_LOOP</span><span class='rparen'>)</span><span class='period'>
</span><span class='id identifier rubyid_ .data'> .data</span><span class='period'>.</span><span class='id identifier rubyid_unpack'>unpack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>C</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
<span class='id identifier rubyid_param'>param</span> <span class='op'>></span> <span class='int'>0</span> <span class='op'>?</span> <span class='kw'>true</span> <span class='op'>:</span> <span class='kw'>false</span>
@@ -1415,19 +1611,19 @@
<tr>
<td>
<pre class="lines">
-183
-184
-185
-186</pre>
+221
+222
+223
+224</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 183</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 221</span>
-<span class='kw'>def</span> <span class='id identifier rubyid_ip_multicast_loop='>ip_multicast_loop=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_ip_multicast_loop='>ip_multicast_loop=</span> <span class='id identifier rubyid_value'>value</span>
<span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span> <span class='op'>?</span> <span class='int'>1</span> <span class='op'>:</span> <span class='int'>0</span>
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_setsockopt'>setsockopt</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_IP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IP_MULTICAST_LOOP</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='id identifier rubyid_param'>param</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_pack'>pack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>C</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
</tr>
@@ -1459,17 +1655,17 @@
<tr>
<td>
<pre class="lines">
-160
-161
-162
-163</pre>
+198
+199
+200
+201</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 160</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 198</span>
<span class='kw'>def</span> <span class='id identifier rubyid_ip_multicast_ttl'>ip_multicast_ttl</span>
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_getsockopt'>getsockopt</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_IP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IP_MULTICAST_TTL</span><span class='rparen'>)</span><span class='period'>
</span><span class='id identifier rubyid_ .data'> .data</span><span class='period'>.</span><span class='id identifier rubyid_unpack'>unpack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>C</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
<span class='kw'>end</span></pre>
@@ -1503,18 +1699,18 @@
<tr>
<td>
<pre class="lines">
-167
-168
-169</pre>
+205
+206
+207</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 167</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 205</span>
-<span class='kw'>def</span> <span class='id identifier rubyid_ip_multicast_ttl='>ip_multicast_ttl=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_ip_multicast_ttl='>ip_multicast_ttl=</span> <span class='id identifier rubyid_value'>value</span>
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_setsockopt'>setsockopt</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_IP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IP_MULTICAST_TTL</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='id identifier rubyid_value'>value</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_pack'>pack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>C</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -1544,17 +1740,17 @@
<tr>
<td>
<pre class="lines">
-189
-190
-191
-192</pre>
+227
+228
+229
+230</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 189</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 227</span>
<span class='kw'>def</span> <span class='id identifier rubyid_ipv6_add_membership'>ipv6_add_membership</span>
<span class='comment'># TODO: Implement
</span> <span class='kw'>false</span>
<span class='kw'>end</span></pre>
@@ -1587,17 +1783,17 @@
<tr>
<td>
<pre class="lines">
-195
-196
-197
-198</pre>
+233
+234
+235
+236</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 195</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 233</span>
<span class='kw'>def</span> <span class='id identifier rubyid_ipv6_drop_membership'>ipv6_drop_membership</span>
<span class='comment'># TODO: Implement
</span> <span class='kw'>false</span>
<span class='kw'>end</span></pre>
@@ -1630,17 +1826,17 @@
<tr>
<td>
<pre class="lines">
-212
-213
-214
-215</pre>
+250
+251
+252
+253</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 212</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 250</span>
<span class='kw'>def</span> <span class='id identifier rubyid_ipv6_multicast_hops'>ipv6_multicast_hops</span>
<span class='comment'># TODO: Implement
</span> <span class='kw'>false</span>
<span class='kw'>end</span></pre>
@@ -1673,18 +1869,18 @@
<tr>
<td>
<pre class="lines">
-218
-219
-220</pre>
+256
+257
+258</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 218</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 256</span>
-<span class='kw'>def</span> <span class='id identifier rubyid_ipv6_multicast_hops='>ipv6_multicast_hops=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_ipv6_multicast_hops='>ipv6_multicast_hops=</span> <span class='id identifier rubyid_value'>value</span>
<span class='comment'># TODO: Implement
</span><span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -1714,17 +1910,17 @@
<tr>
<td>
<pre class="lines">
-201
-202
-203
-204</pre>
+239
+240
+241
+242</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 201</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 239</span>
<span class='kw'>def</span> <span class='id identifier rubyid_ipv6_multicast_if'>ipv6_multicast_if</span>
<span class='comment'># TODO: Implement
</span> <span class='kw'>false</span>
<span class='kw'>end</span></pre>
@@ -1757,18 +1953,18 @@
<tr>
<td>
<pre class="lines">
-207
-208
-209</pre>
+245
+246
+247</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 207</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 245</span>
-<span class='kw'>def</span> <span class='id identifier rubyid_ipv6_multicast_if='>ipv6_multicast_if=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_ipv6_multicast_if='>ipv6_multicast_if=</span> <span class='id identifier rubyid_value'>value</span>
<span class='comment'># TODO: Implement
</span><span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -1802,17 +1998,17 @@
<tr>
<td>
<pre class="lines">
-223
-224
-225
-226</pre>
+261
+262
+263
+264</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 223</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 261</span>
<span class='kw'>def</span> <span class='id identifier rubyid_ipv6_multicast_loop'>ipv6_multicast_loop</span>
<span class='comment'># TODO: Implement
</span> <span class='kw'>false</span>
<span class='kw'>end</span></pre>
@@ -1845,26 +2041,122 @@
<tr>
<td>
<pre class="lines">
-231
-232
-233</pre>
+269
+270
+271</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 231</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 269</span>
-<span class='kw'>def</span> <span class='id identifier rubyid_ipv6_multicast_loop='>ipv6_multicast_loop=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_ipv6_multicast_loop='>ipv6_multicast_loop=</span> <span class='id identifier rubyid_value'>value</span>
<span class='comment'># TODO: Implement
</span><span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
+ <h3 class="signature " id="linger-instance_method">
+
+ - (<tt>Object</tt>) <strong>linger</strong>
+
+
+
+ <span class="aliases">Also known as:
+ <span class="names"><span id='linger?-instance_method'>linger?</span></span>
+ </span>
+
+
+
+</h3><div class="docstring">
+ <div class="discussion">
+
+<p>For connection-oriented protocols, prevent #close from returning
+immediately and try to deliver any data in the send buffer if value is
+true. ( SO_LINGER )</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+</div><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+48
+49
+50
+51
+52</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 48</span>
+
+<span class='kw'>def</span> <span class='id identifier rubyid_linger'>linger</span>
+ <span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_getsockopt'>getsockopt</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>SOL_SOCKET</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>SO_LINGER</span><span class='rparen'>)</span><span class='period'>
+</span><span class='id identifier rubyid_ .data'> .data</span><span class='period'>.</span><span class='id identifier rubyid_unpack'>unpack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>i</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
+ <span class='id identifier rubyid_param'>param</span> <span class='op'>></span> <span class='int'>0</span> <span class='op'>?</span> <span class='kw'>true</span> <span class='op'>:</span> <span class='kw'>false</span>
+<span class='kw'>end</span></pre>
+ </td>
+ </tr>
+</table>
+</div>
+
+ <div class="method_details ">
+ <h3 class="signature " id="linger=-instance_method">
+
+ - (<tt>Object</tt>) <strong>linger=</strong>(value)
+
+
+
+
+
+</h3><div class="docstring">
+ <div class="discussion">
+
+<p>For connection-oriented protocols, prevent #close from returning
+immediately and try to deliver any data in the send buffer if value is
+true. ( SO_LINGER )</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+</div><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+58
+59
+60
+61</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 58</span>
+
+<span class='kw'>def</span> <span class='id identifier rubyid_linger='>linger=</span> <span class='id identifier rubyid_value'>value</span>
+ <span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span> <span class='op'>?</span> <span class='int'>1</span> <span class='op'>:</span> <span class='int'>0</span>
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_setsockopt'>setsockopt</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>SOL_SOCKET</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>SO_LINGER</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='id identifier rubyid_param'>param</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_pack'>pack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>i</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
+<span class='kw'>end</span></pre>
+ </td>
+ </tr>
+</table>
+</div>
+
+ <div class="method_details ">
<h3 class="signature " id="multicast-instance_method">
- (<tt>Object</tt>) <strong>multicast</strong>
@@ -1890,16 +2182,16 @@
<tr>
<td>
<pre class="lines">
-246
-247
-248</pre>
+284
+285
+286</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 246</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 284</span>
<span class='kw'>def</span> <span class='id identifier rubyid_multicast'>multicast</span>
<span class='const'>Ionian</span><span class='op'>::</span><span class='const'>Extension</span><span class='op'>::</span><span class='const'>Socket</span><span class='period'>.</span><span class='id identifier rubyid_multicast'>multicast</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_remote_address'>remote_address</span><span class='period'>.</span><span class='id identifier rubyid_ip_address'>ip_address</span>
<span class='kw'>end</span></pre>
</td>
@@ -1935,18 +2227,18 @@
<tr>
<td>
<pre class="lines">
-61
-62
-63
-64
-65</pre>
+99
+100
+101
+102
+103</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 61</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 99</span>
<span class='kw'>def</span> <span class='id identifier rubyid_no_delay'>no_delay</span>
<span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_getsockopt'>getsockopt</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_TCP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>TCP_NODELAY</span><span class='rparen'>)</span><span class='period'>
</span><span class='id identifier rubyid_ .data'> .data</span><span class='period'>.</span><span class='id identifier rubyid_unpack'>unpack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>i</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
<span class='id identifier rubyid_param'>param</span> <span class='op'>></span> <span class='int'>0</span> <span class='op'>?</span> <span class='kw'>true</span> <span class='op'>:</span> <span class='kw'>false</span>
@@ -1980,19 +2272,19 @@
<tr>
<td>
<pre class="lines">
-71
-72
-73
-74</pre>
+109
+110
+111
+112</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 71</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 109</span>
-<span class='kw'>def</span> <span class='id identifier rubyid_no_delay='>no_delay=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_no_delay='>no_delay=</span> <span class='id identifier rubyid_value'>value</span>
<span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span> <span class='op'>?</span> <span class='int'>1</span> <span class='op'>:</span> <span class='int'>0</span>
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_setsockopt'>setsockopt</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_TCP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>TCP_NODELAY</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='id identifier rubyid_param'>param</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_pack'>pack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>i</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
</tr>
@@ -2023,17 +2315,17 @@
<tr>
<td>
<pre class="lines">
-103
-104
-105
-106</pre>
+141
+142
+143
+144</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 103</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 141</span>
<span class='kw'>def</span> <span class='id identifier rubyid_recork'>recork</span>
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_setsockopt'>setsockopt</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_TCP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>TCP_CORK</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_pack'>pack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>i</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_setsockopt'>setsockopt</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_TCP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>TCP_CORK</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_pack'>pack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>i</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
@@ -2070,18 +2362,18 @@
<tr>
<td>
<pre class="lines">
-29
-30
-31
-32
-33</pre>
+67
+68
+69
+70
+71</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 29</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 67</span>
<span class='kw'>def</span> <span class='id identifier rubyid_reuse_addr'>reuse_addr</span>
<span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_getsockopt'>getsockopt</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>SOL_SOCKET</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>SO_REUSEADDR</span><span class='rparen'>)</span><span class='period'>
</span><span class='id identifier rubyid_ .data'> .data</span><span class='period'>.</span><span class='id identifier rubyid_unpack'>unpack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>i</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
<span class='id identifier rubyid_param'>param</span> <span class='op'>></span> <span class='int'>0</span> <span class='op'>?</span> <span class='kw'>true</span> <span class='op'>:</span> <span class='kw'>false</span>
@@ -2115,19 +2407,19 @@
<tr>
<td>
<pre class="lines">
-39
-40
-41
-42</pre>
+77
+78
+79
+80</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 39</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 77</span>
-<span class='kw'>def</span> <span class='id identifier rubyid_reuse_addr='>reuse_addr=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_reuse_addr='>reuse_addr=</span> <span class='id identifier rubyid_value'>value</span>
<span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span> <span class='op'>?</span> <span class='int'>1</span> <span class='op'>:</span> <span class='int'>0</span>
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_setsockopt'>setsockopt</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>SOL_SOCKET</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>SO_REUSEADDR</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='id identifier rubyid_param'>param</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_pack'>pack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>i</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
</tr>
@@ -2162,17 +2454,17 @@
<tr>
<td>
<pre class="lines">
-46
-47
-48
-49</pre>
+84
+85
+86
+87</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 46</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 84</span>
<span class='kw'>def</span> <span class='id identifier rubyid_ttl'>ttl</span>
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_getsockopt'>getsockopt</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_IP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IP_TTL</span><span class='rparen'>)</span><span class='period'>
</span><span class='id identifier rubyid_ .data'> .data</span><span class='period'>.</span><span class='id identifier rubyid_unpack'>unpack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>i</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
<span class='kw'>end</span></pre>
@@ -2205,18 +2497,18 @@
<tr>
<td>
<pre class="lines">
-55
-56
-57</pre>
+93
+94
+95</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 55</span>
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 93</span>
-<span class='kw'>def</span> <span class='id identifier rubyid_ttl='>ttl=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_ttl='>ttl=</span> <span class='id identifier rubyid_value'>value</span>
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_setsockopt'>setsockopt</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_IP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IP_TTL</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='id identifier rubyid_value'>value</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_pack'>pack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>i</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -2225,12 +2517,12 @@
</div>
</div>
<div id="footer">
- Generated on Sat Mar 15 21:04:54 2014 by
+ Generated on Fri Apr 11 21:18:17 2014 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
- 0.8.7.3 (ruby-2.1.1).
+ 0.8.7.4 (ruby-2.1.1).
</div>
</body>
</html>
\ No newline at end of file