socketpair.hpp
Go to the documentation of this file.
1 
8 /*****************************************************************************
9 ** Ifdefs
10 *****************************************************************************/
11 
12 #ifndef ECL_IO_SOCKETPAIR_HPP_
13 #define ECL_IO_SOCKETPAIR_HPP_
14 
15 /*****************************************************************************
16 ** Includes
17 *****************************************************************************/
18 
19 #include <ecl/errors/handlers.hpp>
20 #include "sockets.hpp"
21 
22 /*****************************************************************************
23 ** Namespaces
24 *****************************************************************************/
25 
26 namespace ecl {
40 ecl_io_PUBLIC SocketError socketpair(socket_descriptor socket_fd_pair[2], const bool non_blocking = false );
41 
42 
43 } // namespace ecl
44 
45 #endif /* ECL_IO_SOCKETPAIR_HPP_ */
ecl_io_PUBLIC SocketError socketpair(socket_descriptor socket_fd_pair[2], const bool non_blocking=false)
Creates a socket pair internal to the current process.
int socket_descriptor
Cross-platform typedef for a socket file descriptor.
Definition: sockets.hpp:58
#define ecl_io_PUBLIC
Definition: macros.hpp:28
Cross platform socket api.


ecl_io
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:09:05