namedPipeConnection.cpp
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #include <limits>
00019
00020 #include "namedPipeConnection.h"
00021
00022 #include "connectionDescription.h"
00023 #include "node.h"
00024
00025 #include <eq/base/base.h>
00026 #include <eq/base/log.h>
00027
00028 #include <errno.h>
00029 #include <sstream>
00030 #include <string.h>
00031 #include <sys/types.h>
00032
00033 #ifdef WIN32
00034 # define EQ_PIPE_ERROR getErrorString( GetLastError( )) << \
00035 "(" << GetLastError() << ")"
00036 # include "namedPipeConnectionWin32.cpp"
00037
00038 #else
00039 # define EQ_PIPE_ERROR strerror( errno ) << "(" << errno << ")"
00040
00041 # include "namedPipeConnectionPosix.cpp"
00042 #endif