Go to the documentation of this file.00001 
00008 
00009 
00010 
00011 
00012 #ifndef ECL_DEVICES_SOCKET_EXCEPTION_HANDLER_POS_HPP_
00013 #define ECL_DEVICES_SOCKET_EXCEPTION_HANDLER_POS_HPP_
00014 
00015 
00016 
00017 
00018 
00019 #include <ecl/config/ecl.hpp>
00020 #ifndef ECL_IS_MAC
00021 #ifdef ECL_IS_POSIX
00022 
00023 
00024 
00025 
00026 
00027 #include <string>
00028 #include <ecl/exceptions/standard_exception.hpp>
00029 
00030 
00031 
00032 
00033 
00034 namespace ecl {
00035 namespace devices {
00036 
00037 
00038 
00039 
00040 
00048 ecl::StandardException socket_exception(const char* loc);
00056 ecl::StandardException bind_exception(const char* loc);
00064 ecl::StandardException accept_exception(const char* loc);
00072 ecl::StandardException receive_exception(const char* loc);
00080 ecl::StandardException ioctl_exception(const char* loc);
00088 ecl::StandardException send_exception(const char* loc);
00097 StandardException gethostbyname_exception(const char* loc, const std::string& hostname);
00105 StandardException connection_exception(const char* loc);
00106 
00107 } 
00108 } 
00109 
00110 #endif 
00111 #endif 
00112 #endif