Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/Net/include.hpp

Go to the documentation of this file.
00001 // Wolf for J2K Library
00002 // LGPL Licensed.
00003 // http://j2k.sourceforge.net/
00004 // Revision #1: Fred P. - Oct 2nd, 2001
00005 
00006 #ifndef __J2K__NET__INCLUDE_HPP__
00007 #define __J2K__NET__INCLUDE_HPP__
00008 
00009 // The network stuff
00010 #ifdef __GNUC__
00011 #include <sys/types.h>
00012 #include <sys/socket.h>
00013 #include <netdb.h>
00014 #include <netinet/in.h>
00015 #include <netinet/tcp.h>
00016 #include <arpa/inet.h>
00017 #include <unistd.h>
00018 
00019 // End of __GNUC__
00020 
00021 #elif defined( _WIN32 )
00022 
00023 // winsock stuff here
00024 
00025 // End of _WIN32
00026 
00027 #else // MacOS or other ?
00028 
00029 #endif 
00030 
00031 // general Clibs to include
00032 #include <errno.h>
00033 
00034 //// other j2k stuff used
00035 
00036 #include <j2k/Fred/Standard.hpp>
00037 //#include <j2k/Fred/StdTypes.hpp>  // Already in Standard
00038 //#include <j2k/Fred/Boolean.hpp>
00039 #ifdef USE_JSTRING
00040 #include <j2k/Fred/String/String.hpp>
00041 #endif
00042 
00043 #if defined(__sun) || defined(__SUN__)
00044 
00045 #else
00046 
00047 #ifndef __socklen_t_defined
00048 //typedef int socklen_t;
00049 #define __socklen_t_defined
00050 #endif
00051 
00052 #endif
00053 
00054 #endif //__J2K__NET__INCLUDE_HPP__

Generated on Sun Oct 14 18:46:33 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001