/* connectTCP.c - connect TPC */ /*------------------------------------------------------------------------------------------ * connectTPC - connect to a specific TCP service on a specified host *-------------------------------------------------------------------------------------------- */ int connectTCP(host,service) char *host; /* name of host */ char *service; /* service associated with the port */ { return connectsock(host,service, "tcp"); }