Changed return value of tcp_connect_sockaddr from 0 to 10 so
we do not close stdout.