Main Page
Namespaces
Namespace List
Namespace Members
All
Functions
Typedefs
Classes
Class List
Class Hierarchy
Class Members
All
Functions
Files
File List
File Members
All
Functions
Variables
Macros
include
ecl
io
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::socket_descriptor
int socket_descriptor
Cross-platform typedef for a socket file descriptor.
Definition:
sockets.hpp:64
sockets.hpp
Cross platform socket api.
ecl_io_PUBLIC
#define ecl_io_PUBLIC
Definition:
macros.hpp:28
handlers.hpp
ecl::socketpair
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.
Definition:
lib/socketpair.cpp:26
ecl
ecl_io
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:13:55