Program Listing for File socketpair.hpp

Return to documentation for file (include/ecl/io/socketpair.hpp)

/*****************************************************************************
** Ifdefs
*****************************************************************************/

#ifndef ECL_IO_SOCKETPAIR_HPP_
#define ECL_IO_SOCKETPAIR_HPP_

/*****************************************************************************
** Includes
*****************************************************************************/

#include <ecl/errors/handlers.hpp>
#include "sockets.hpp"

/*****************************************************************************
** Namespaces
*****************************************************************************/

namespace ecl {
ecl_io_PUBLIC SocketError socketpair(socket_descriptor socket_fd_pair[2], const bool non_blocking = false );


} // namespace ecl

#endif /* ECL_IO_SOCKETPAIR_HPP_ */