The TWS API documentation has a new look, and is now housed on Github. This new guide should be used for information included in API release 9.72 on and features the newer connection methodology and updated classes.
Use the IB Gateway Guide if you are using the CTCI over the Internet.