I would like to use another network interface for a socket client using node-ipc
on Linux (RH, CentOS).
I tried:
ipc.config.interfaces = {
localAddress: true,
localPort: false,
family: false,
hints: false,
lookup: false
};
and
ipc.config.interfaces = {
localAddress: '1.2.3.4',
localPort: false,
family: false,
hints: false,
lookup: false
};
without success. I can see with wireshark the source IP is not 1.2.3.4
.
How can I set the source IP in a code using node-ipc
?
I couldn't find any example...
via Alexis_FR_JP
No comments:
Post a Comment