The Client - IB tws Handshake

The IB tws supports multiple versions of the api protocol, and it decides which one to speak based on the initial handshake from the client.

The handshake has two steps, one message each from the downstream client and the IB tws server. The client sends the api version it intends to speak, and the server sends back the current and maximum protocol version it supports, followed by, after version 20 and more recent, the connection time string.

Bill Pippin 2010-01-14