socket_exception_handler_pos.hpp
Go to the documentation of this file.
1 
8 /*****************************************************************************
9 ** Ifdefs
10 *****************************************************************************/
11 
12 #ifndef ECL_DEVICES_SOCKET_EXCEPTION_HANDLER_POS_HPP_
13 #define ECL_DEVICES_SOCKET_EXCEPTION_HANDLER_POS_HPP_
14 
15 /*****************************************************************************
16 ** Cross platform
17 *****************************************************************************/
18 
19 #include <ecl/config/ecl.hpp>
20 #ifndef ECL_IS_APPLE
21 #ifdef ECL_IS_POSIX
22 
23 /*****************************************************************************
24 ** Includes
25 *****************************************************************************/
26 
27 #include <string>
29 
30 /*****************************************************************************
31 ** Namespaces
32 *****************************************************************************/
33 
34 namespace ecl {
35 namespace devices {
36 
37 /*****************************************************************************
38 ** Methods
39 *****************************************************************************/
40 
48 ecl::StandardException socket_exception(const char* loc);
56 ecl::StandardException bind_exception(const char* loc);
64 ecl::StandardException accept_exception(const char* loc);
72 ecl::StandardException receive_exception(const char* loc);
80 ecl::StandardException ioctl_exception(const char* loc);
88 ecl::StandardException send_exception(const char* loc);
97 StandardException gethostbyname_exception(const char* loc, const std::string& hostname);
105 StandardException connection_exception(const char* loc);
106 
107 } // namespace devices
108 } // namespace ecl
109 
110 #endif /* ECL_IS_POSIX */
111 #endif /* !ECL_IS_APPLE */
112 #endif /* ECL_DEVICES_SOCKET_EXCEPTION_HANDLER_POS_HPP_ */
Embedded control libraries.


ecl_devices
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:08:45