ACQ2XX_API
iclient3.h
Go to the documentation of this file.
00001 /* ------------------------------------------------------------------------- */
00002 /* iclient3.h - dt100 network attached satellite DAQ                         */
00003 /* ------------------------------------------------------------------------- */
00004 /*   Copyright (C) 2003 Peter Milne, D-TACQ Solutions Ltd
00005  *                      <Peter dot Milne at D hyphen TACQ dot com>
00006  
00007     This program is free software; you can redistribute it and/or modify
00008     it under the terms of Version 2 of the GNU General Public License
00009     as published by the Free Software Foundation;
00010  
00011     This program is distributed in the hope that it will be useful,
00012     but WITHOUT ANY WARRANTY; without even the implied warranty of
00013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014     GNU General Public License for more details.
00015  
00016     You should have received a copy of the GNU General Public License
00017     along with this program; if not, write to the Free Software
00018     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.                */
00019 /* ------------------------------------------------------------------------- */
00020 
00021 #define SOCKET int
00022 void error( int status, int err, char *fmt, ... );
00023 void set_address(const char *hname, const char *sname,
00024                          struct sockaddr_in *sap, const char *protocol );
00025 int readline( SOCKET fd, char *bufptr, size_t len );    
00026 
00027 #define EPEERDISCONNECT  3700