Create gh-pages branch via GitHub
This commit is contained in:
parent
cf46889448
commit
2508bd098d
2 changed files with 25 additions and 2 deletions
25
index.html
25
index.html
|
@ -37,7 +37,7 @@
|
|||
<p><em>a nodejs module for local and remote Inter Process Communication</em> for Linux, Mac and Windows.<br>
|
||||
A great solution for <strong>Neural Networking</strong> in Node.JS</p>
|
||||
|
||||
<p><strong>npm install node-ipc</strong><br><a href="https://npmjs.org/package/event-pubsub" title="node-ipc details from npm"><img src="https://nodei.co/npm/node-ipc.png?stars=true" alt="alt node-ipc npm details" title="node-ipc npm module details "></a></p>
|
||||
<p><strong>npm install node-ipc</strong><br><a href="https://npmjs.org/package/node-ipc" title="node-ipc details from npm"><img src="https://nodei.co/npm/node-ipc.png?stars=true" alt="alt node-ipc npm details" title="node-ipc npm module details "></a></p>
|
||||
|
||||
<p>Package details websites :</p>
|
||||
|
||||
|
@ -281,6 +281,29 @@ So while the default is : (id,host,port,callback), the following examples will s
|
|||
);
|
||||
</code></pre>
|
||||
|
||||
<hr><h5>
|
||||
<a name="disconnect" class="anchor" href="#disconnect"><span class="octicon octicon-link"></span></a>disconnect</h5>
|
||||
|
||||
<p><code>ipc.disconnect(id)</code> </p>
|
||||
|
||||
<p>Used to disconnect a client from a Unix, TCP or TLS socket. The socket and its refrence will be removed from memory and the <code>ipc.of</code> scope. This can be local or remote. UDP clients do not maintain connections and so there are no Clients and this method has no value to them.</p>
|
||||
|
||||
<table>
|
||||
<thead><tr>
|
||||
<th>variable</th>
|
||||
<th>required</th>
|
||||
<th>definition</th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>id</td>
|
||||
<td>required</td>
|
||||
<td>is the string id of the socket from which to disconnect.</td>
|
||||
</tr></tbody>
|
||||
</table><p><strong>examples</strong></p>
|
||||
|
||||
<pre><code>ipc.disconnect('world');
|
||||
</code></pre>
|
||||
|
||||
<hr><h5>
|
||||
<a name="serve" class="anchor" href="#serve"><span class="octicon octicon-link"></span></a>serve</h5>
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue