Skip to content

Commit

Permalink
confirmed network interface release
Browse files Browse the repository at this point in the history
  • Loading branch information
RIAEvangelist committed Dec 22, 2016
1 parent 872e3ff commit c899df2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README.md
Expand Up @@ -105,7 +105,14 @@ Set these variables in the `ipc.config` scope to overwrite or set default values
maxConnections : 100,
retry : 500,
maxRetries : false,
stopRetrying : false
stopRetrying : false,
interfaces : {
localAddress: false,
localPort : false,
family : false,
hints : false,
lookup : false
}
}

```
Expand All @@ -127,6 +134,7 @@ Set these variables in the `ipc.config` scope to overwrite or set default values
| retry | this is the time in milliseconds a client will wait before trying to reconnect to a server if the connection is lost. This does not effect UDP sockets since they do not have a client server relationship like Unix Sockets and TCP Sockets. |
| maxRetries | if set, it represents the maximum number of retries after each disconnect before giving up and completely killing a specific connection |
| stopRetrying| Defaults to false meaning clients will continue to retry to connect to servers indefinitely at the retry interval. If set to any number the client will stop retrying when that number is exceeded after each disconnect. If set to true in real time it will immediately stop trying to connect regardless of maxRetries. If set to 0, the client will ***NOT*** try to reconnect. |
| interfaces| primarily used when specifying which interface a client should connect through. see the [socket.connect documentation in the node.js api](https://nodejs.org/api/net.html#net_socket_connect_options_connectlistener) |

----

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "node-ipc",
"version": "8.9.3",
"version": "8.10.0",
"description": "A nodejs module for local and remote Inter Process Communication (IPC), Neural Networking, and able to facilitate machine learning.",
"main": "node-ipc.js",
"directories": {
Expand Down

0 comments on commit c899df2

Please sign in to comment.