.. _program_listing_file__tmp_ws_src_ecl_core_ecl_devices_include_ecl_devices_detail_socket_exception_handler_pos.hpp: Program Listing for File socket_exception_handler_pos.hpp ========================================================= |exhale_lsh| :ref:`Return to documentation for file ` (``/tmp/ws/src/ecl_core/ecl_devices/include/ecl/devices/detail/socket_exception_handler_pos.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp /***************************************************************************** ** Ifdefs *****************************************************************************/ #ifndef ECL_DEVICES_SOCKET_EXCEPTION_HANDLER_POS_HPP_ #define ECL_DEVICES_SOCKET_EXCEPTION_HANDLER_POS_HPP_ /***************************************************************************** ** Cross platform *****************************************************************************/ #include #ifndef ECL_IS_APPLE #ifdef ECL_IS_POSIX /***************************************************************************** ** Includes *****************************************************************************/ #include #include /***************************************************************************** ** Namespaces *****************************************************************************/ namespace ecl { namespace devices { /***************************************************************************** ** Methods *****************************************************************************/ ecl::StandardException socket_exception(const char* loc); ecl::StandardException bind_exception(const char* loc); ecl::StandardException accept_exception(const char* loc); ecl::StandardException receive_exception(const char* loc); ecl::StandardException ioctl_exception(const char* loc); ecl::StandardException send_exception(const char* loc); StandardException gethostbyname_exception(const char* loc, const std::string& hostname); StandardException connection_exception(const char* loc); } // namespace devices } // namespace ecl #endif /* ECL_IS_POSIX */ #endif /* !ECL_IS_APPLE */ #endif /* ECL_DEVICES_SOCKET_EXCEPTION_HANDLER_POS_HPP_ */