Connecting using TCP