now can connect to a TCP server