00001
00002
00003 #include "common.h"
00004 #include "errabort.h"
00005 #include "genoFind.h"
00006 #include "net.h"
00007
00008 static char const rcsid[] = "$Id: gfNet.c,v 1.8 2004/06/01 16:49:03 kent Exp $";
00009
00010 int gfConnect(char *hostName, char *portName)
00011
00012 {
00013
00014 int sd = netConnect(hostName, atoi(portName));
00015 if (sd < 0)
00016 {
00017 errnoAbort("Sorry, the BLAT/iPCR server seems to be down. Please try "
00018 "again later.");
00019 }
00020 return sd;
00021 }
00022