#include "asio/detail/push_options.hpp"
#include <boost/config.hpp>
#include <boost/assert.hpp>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cerrno>
#include <boost/detail/workaround.hpp>
#include <new>
#include "asio/detail/pop_options.hpp"
#include "asio/error.hpp"
#include "asio/detail/socket_types.hpp"
Go to the source code of this file.
Namespaces | |
namespace | asio |
namespace | asio::detail |
namespace | asio::detail::socket_ops |
Typedefs | |
typedef iovec | asio::detail::socket_ops::buf |
Functions | |
socket_type | asio::detail::socket_ops::accept (socket_type s, socket_addr_type *addr, std::size_t *addrlen, asio::error_code &ec) |
int | asio::detail::socket_ops::bind (socket_type s, const socket_addr_type *addr, std::size_t addrlen, asio::error_code &ec) |
template<typename SockLenType > | |
socket_type | asio::detail::socket_ops::call_accept (SockLenType msghdr::*, socket_type s, socket_addr_type *addr, std::size_t *addrlen) |
template<typename SockLenType > | |
int | asio::detail::socket_ops::call_bind (SockLenType msghdr::*, socket_type s, const socket_addr_type *addr, std::size_t addrlen) |
template<typename SockLenType > | |
int | asio::detail::socket_ops::call_connect (SockLenType msghdr::*, socket_type s, const socket_addr_type *addr, std::size_t addrlen) |
template<typename SockLenType > | |
int | asio::detail::socket_ops::call_getpeername (SockLenType msghdr::*, socket_type s, socket_addr_type *addr, std::size_t *addrlen) |
template<typename SockLenType > | |
int | asio::detail::socket_ops::call_getsockname (SockLenType msghdr::*, socket_type s, socket_addr_type *addr, std::size_t *addrlen) |
template<typename SockLenType > | |
int | asio::detail::socket_ops::call_getsockopt (SockLenType msghdr::*, socket_type s, int level, int optname, void *optval, std::size_t *optlen) |
template<typename SockLenType > | |
int | asio::detail::socket_ops::call_setsockopt (SockLenType msghdr::*, socket_type s, int level, int optname, const void *optval, std::size_t optlen) |
void | asio::detail::socket_ops::clear_error (asio::error_code &ec) |
int | asio::detail::socket_ops::close (socket_type s, asio::error_code &ec) |
int | asio::detail::socket_ops::connect (socket_type s, const socket_addr_type *addr, std::size_t addrlen, asio::error_code &ec) |
template<typename ReturnType > | |
ReturnType | asio::detail::socket_ops::error_wrapper (ReturnType return_value, asio::error_code &ec) |
void | asio::detail::socket_ops::freeaddrinfo (addrinfo_type *ai) |
asio::error_code | asio::detail::socket_ops::getaddrinfo (const char *host, const char *service, const addrinfo_type *hints, addrinfo_type **result, asio::error_code &ec) |
int | asio::detail::socket_ops::gethostname (char *name, int namelen, asio::error_code &ec) |
asio::error_code | asio::detail::socket_ops::getnameinfo (const socket_addr_type *addr, std::size_t addrlen, char *host, std::size_t hostlen, char *serv, std::size_t servlen, int flags, asio::error_code &ec) |
int | asio::detail::socket_ops::getpeername (socket_type s, socket_addr_type *addr, std::size_t *addrlen, asio::error_code &ec) |
int | asio::detail::socket_ops::getsockname (socket_type s, socket_addr_type *addr, std::size_t *addrlen, asio::error_code &ec) |
int | asio::detail::socket_ops::getsockopt (socket_type s, int level, int optname, void *optval, size_t *optlen, asio::error_code &ec) |
u_long_type | asio::detail::socket_ops::host_to_network_long (u_long_type value) |
u_short_type | asio::detail::socket_ops::host_to_network_short (u_short_type value) |
const char * | asio::detail::socket_ops::inet_ntop (int af, const void *src, char *dest, size_t length, unsigned long scope_id, asio::error_code &ec) |
int | asio::detail::socket_ops::inet_pton (int af, const char *src, void *dest, unsigned long *scope_id, asio::error_code &ec) |
void | asio::detail::socket_ops::init_buf (buf &b, void *data, size_t size) |
void | asio::detail::socket_ops::init_buf (buf &b, const void *data, size_t size) |
void | asio::detail::socket_ops::init_msghdr_msg_name (void *&name, socket_addr_type *addr) |
void | asio::detail::socket_ops::init_msghdr_msg_name (void *&name, const socket_addr_type *addr) |
template<typename T > | |
void | asio::detail::socket_ops::init_msghdr_msg_name (T &name, socket_addr_type *addr) |
template<typename T > | |
void | asio::detail::socket_ops::init_msghdr_msg_name (T &name, const socket_addr_type *addr) |
int | asio::detail::socket_ops::ioctl (socket_type s, long cmd, ioctl_arg_type *arg, asio::error_code &ec) |
int | asio::detail::socket_ops::listen (socket_type s, int backlog, asio::error_code &ec) |
u_long_type | asio::detail::socket_ops::network_to_host_long (u_long_type value) |
u_short_type | asio::detail::socket_ops::network_to_host_short (u_short_type value) |
int | asio::detail::socket_ops::poll_read (socket_type s, asio::error_code &ec) |
int | asio::detail::socket_ops::poll_write (socket_type s, asio::error_code &ec) |
int | asio::detail::socket_ops::recv (socket_type s, buf *bufs, size_t count, int flags, asio::error_code &ec) |
int | asio::detail::socket_ops::recvfrom (socket_type s, buf *bufs, size_t count, int flags, socket_addr_type *addr, std::size_t *addrlen, asio::error_code &ec) |
int | asio::detail::socket_ops::select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, timeval *timeout, asio::error_code &ec) |
int | asio::detail::socket_ops::send (socket_type s, const buf *bufs, size_t count, int flags, asio::error_code &ec) |
int | asio::detail::socket_ops::sendto (socket_type s, const buf *bufs, size_t count, int flags, const socket_addr_type *addr, std::size_t addrlen, asio::error_code &ec) |
int | asio::detail::socket_ops::setsockopt (socket_type s, int level, int optname, const void *optval, std::size_t optlen, asio::error_code &ec) |
int | asio::detail::socket_ops::shutdown (socket_type s, int what, asio::error_code &ec) |
socket_type | asio::detail::socket_ops::socket (int af, int type, int protocol, asio::error_code &ec) |
int | asio::detail::socket_ops::socketpair (int af, int type, int protocol, socket_type sv[2], asio::error_code &ec) |
asio::error_code | asio::detail::socket_ops::translate_addrinfo_error (int error) |