00001 /* 00002 * MAX : network.h, Sam Dez 29 19:56:19 CET 2001 -sg 00003 * 00004 * include files for network stuff 00005 * 00006 * This file is part of Max data acquisition software 00007 * Copyright (C) 1997,98 Christian Rosen 00008 * 00009 * Max is free software; you can redistribute it and/or modify it 00010 * under the terms of the version 2 of GNU General Public License as 00011 * published by the Free Software Foundation. 00012 * 00013 * Max is distributed in the hope that it will be useful, but WITHOUT 00014 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00015 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00016 * for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * (see the file COPYING) in this directory; if not, write to the 00020 * Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00021 */ 00022 00023 #include <sys/types.h> 00024 #include <unistd.h> 00025 #include <sys/socket.h> 00026 #include <netdb.h> 00027 #include <netinet/in.h> 00028 #include <arpa/inet.h> 00029 #include <sys/ioctl.h>