Hi.
I want to use POSIX C++ API on Linux(debian).
I installed and configured TWS API following the instruction of
http://holowczak.com/installing-ib-gateway-for-linux/
But I wasn't able to make the test program function normally.
$ cd /home/bd/IB/IBJts/samples/TestPosix
$ ./PosixSocketClientTest
Start of POSIX Socket Client Test 0
Attempt 1 of 50
Connecting to 127.0.0.1:7496 clientId:0
Cannot connect to 127.0.0.1:7496 clientId:0
Sleeping 10 seconds before next attempt
Attempt 2 of 50
Connecting to 127.0.0.1:7496 clientId:0
Cannot connect to 127.0.0.1:7496 clientId:0
Sleeping 10 seconds before next attempt
Attempt 3 of 50
Connecting to 127.0.0.1:7496 clientId:0
Cannot connect to 127.0.0.1:7496 clientId:0
Sleeping 10 seconds before next attempt
^C
http://holowczak.com/installing-ib-gateway-for-linux/13/
Differently from this Web page I used TWS not IB Gateway,for my IB Gateway is broken.(I have to uninstall it)
I gave up this method.
I installed Eclipse though I'm new to IDE.
I Selected File > New > C++Project
Project type : Executable > EnptyProject
Toolchains : Linux GCC
other settings : untouched
and click finish.
Then the project got generated, but there is no src folder on the case of C++.
I have no idea about what should I do next.
Is there any easy-to-follow instruction for the POSIX C++ user by Eclipse or Netbeans like page 298 of
https://www.interactivebrokers.co.jp/download/newMark/PDFs/APIprintable.pdf
or
https://www.interactivebrokers.com/en/software/api/apiguide/java/running_the_java_test_client_program_with_eclipse.htm
?
Following this instruction,I was able to to connect the Java test client to TWS.