lib/gfNet.c

Go to the documentation of this file.
00001 /* gfNet.c - Network dependent stuff for blat server. */
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 /* Start connection with server. */
00012 {
00013 /* Connect to server. */
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 

Generated on Tue Dec 25 18:39:31 2007 for blat by  doxygen 1.5.2