diff --git a/README.md b/README.md index 8faa974..c33f64a 100644 --- a/README.md +++ b/README.md @@ -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 + } } ``` @@ -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) | ---- diff --git a/package.json b/package.json index 67367c4..b1e5008 100644 --- a/package.json +++ b/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": {