Definitely #2...
Allow me to explain because there seems to be a lot of misunderstanding on this thread...
XTrader is client software that TT manufactures.
It talks to various servers, one for each exchange. (cme, cbot , etc...). TT calls these gateways.
Both the server and client...