Only connect to server in TCP mode