ExchangeData for python is written for TCP socket