I have a Linux machine with two network cards dedicated to one NSP each. eth0 has its IP set to 192.168.137.1, and I can connect to an NSP using the example code in testcbsdk.cpp. eth2 is set to 192.168.137.17 and connected to another NSP. However, I don't seem to be able to connect with cbSDK.
Here is what I've tried:
cbSdkOpen(inst, conType) with inst=1. This seems to connect to the NSP on eth0.
cbSdkOpen(0, conType); cbSdkOpen(1, conType); The second call returns -8.
- Give specific IP address:
cbSdkOpen(0, conType);
cbSdkConnection con;
con.szInIP = "192.168.137.17";
cbSdkOpen(1, conType, con);
The second call returns -30.
If this is documented somewhere, I missed it..
I have a Linux machine with two network cards dedicated to one NSP each.
eth0has its IP set to192.168.137.1, and I can connect to an NSP using the example code intestcbsdk.cpp.eth2is set to192.168.137.17and connected to another NSP. However, I don't seem to be able to connect withcbSDK.Here is what I've tried:
cbSdkOpen(inst, conType)withinst=1. This seems to connect to the NSP oneth0.cbSdkOpen(0, conType); cbSdkOpen(1, conType);The second call returns-8.The second call returns
-30.If this is documented somewhere, I missed it..