All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Typedefs | Functions
asio::detail::socket_ops Namespace Reference

Typedefs

typedef iovec buf

Functions

socket_type accept (socket_type s, socket_addr_type *addr, std::size_t *addrlen, asio::error_code &ec)
int bind (socket_type s, const socket_addr_type *addr, std::size_t addrlen, asio::error_code &ec)
template<typename SockLenType >
socket_type call_accept (SockLenType msghdr::*, socket_type s, socket_addr_type *addr, std::size_t *addrlen)
template<typename SockLenType >
int call_bind (SockLenType msghdr::*, socket_type s, const socket_addr_type *addr, std::size_t addrlen)
template<typename SockLenType >
int call_connect (SockLenType msghdr::*, socket_type s, const socket_addr_type *addr, std::size_t addrlen)
template<typename SockLenType >
int call_getpeername (SockLenType msghdr::*, socket_type s, socket_addr_type *addr, std::size_t *addrlen)
template<typename SockLenType >
int call_getsockname (SockLenType msghdr::*, socket_type s, socket_addr_type *addr, std::size_t *addrlen)
template<typename SockLenType >
int call_getsockopt (SockLenType msghdr::*, socket_type s, int level, int optname, void *optval, std::size_t *optlen)
template<typename SockLenType >
int call_setsockopt (SockLenType msghdr::*, socket_type s, int level, int optname, const void *optval, std::size_t optlen)
void clear_error (asio::error_code &ec)
int close (socket_type s, asio::error_code &ec)
int connect (socket_type s, const socket_addr_type *addr, std::size_t addrlen, asio::error_code &ec)
template<typename ReturnType >
ReturnType error_wrapper (ReturnType return_value, asio::error_code &ec)
void freeaddrinfo (addrinfo_type *ai)
asio::error_code getaddrinfo (const char *host, const char *service, const addrinfo_type *hints, addrinfo_type **result, asio::error_code &ec)
int gethostname (char *name, int namelen, asio::error_code &ec)
asio::error_code 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 getpeername (socket_type s, socket_addr_type *addr, std::size_t *addrlen, asio::error_code &ec)
int getsockname (socket_type s, socket_addr_type *addr, std::size_t *addrlen, asio::error_code &ec)
int getsockopt (socket_type s, int level, int optname, void *optval, size_t *optlen, asio::error_code &ec)
u_long_type host_to_network_long (u_long_type value)
u_short_type host_to_network_short (u_short_type value)
const char * inet_ntop (int af, const void *src, char *dest, size_t length, unsigned long scope_id, asio::error_code &ec)
int inet_pton (int af, const char *src, void *dest, unsigned long *scope_id, asio::error_code &ec)
void init_buf (buf &b, void *data, size_t size)
void init_buf (buf &b, const void *data, size_t size)
void init_msghdr_msg_name (void *&name, socket_addr_type *addr)
void init_msghdr_msg_name (void *&name, const socket_addr_type *addr)
template<typename T >
void init_msghdr_msg_name (T &name, socket_addr_type *addr)
template<typename T >
void init_msghdr_msg_name (T &name, const socket_addr_type *addr)
int ioctl (socket_type s, long cmd, ioctl_arg_type *arg, asio::error_code &ec)
int listen (socket_type s, int backlog, asio::error_code &ec)
u_long_type network_to_host_long (u_long_type value)
u_short_type network_to_host_short (u_short_type value)
int poll_read (socket_type s, asio::error_code &ec)
int poll_write (socket_type s, asio::error_code &ec)
int recv (socket_type s, buf *bufs, size_t count, int flags, asio::error_code &ec)
int recvfrom (socket_type s, buf *bufs, size_t count, int flags, socket_addr_type *addr, std::size_t *addrlen, asio::error_code &ec)
int select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, timeval *timeout, asio::error_code &ec)
int send (socket_type s, const buf *bufs, size_t count, int flags, asio::error_code &ec)
int 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 setsockopt (socket_type s, int level, int optname, const void *optval, std::size_t optlen, asio::error_code &ec)
int shutdown (socket_type s, int what, asio::error_code &ec)
socket_type socket (int af, int type, int protocol, asio::error_code &ec)
int socketpair (int af, int type, int protocol, socket_type sv[2], asio::error_code &ec)
asio::error_code translate_addrinfo_error (int error)

Typedef Documentation

Definition at line 208 of file socket_ops.hpp.


Function Documentation

socket_type asio::detail::socket_ops::accept ( socket_type  s,
socket_addr_type *  addr,
std::size_t *  addrlen,
asio::error_code ec 
) [inline]

Definition at line 84 of file socket_ops.hpp.

int asio::detail::socket_ops::bind ( socket_type  s,
const socket_addr_type *  addr,
std::size_t  addrlen,
asio::error_code ec 
) [inline]

Definition at line 119 of file socket_ops.hpp.

template<typename SockLenType >
socket_type asio::detail::socket_ops::call_accept ( SockLenType msghdr::*  ,
socket_type  s,
socket_addr_type *  addr,
std::size_t *  addrlen 
) [inline]

Definition at line 74 of file socket_ops.hpp.

template<typename SockLenType >
int asio::detail::socket_ops::call_bind ( SockLenType msghdr::*  ,
socket_type  s,
const socket_addr_type *  addr,
std::size_t  addrlen 
) [inline]

Definition at line 113 of file socket_ops.hpp.

template<typename SockLenType >
int asio::detail::socket_ops::call_connect ( SockLenType msghdr::*  ,
socket_type  s,
const socket_addr_type *  addr,
std::size_t  addrlen 
) [inline]

Definition at line 159 of file socket_ops.hpp.

template<typename SockLenType >
int asio::detail::socket_ops::call_getpeername ( SockLenType msghdr::*  ,
socket_type  s,
socket_addr_type *  addr,
std::size_t *  addrlen 
) [inline]

Definition at line 554 of file socket_ops.hpp.

template<typename SockLenType >
int asio::detail::socket_ops::call_getsockname ( SockLenType msghdr::*  ,
socket_type  s,
socket_addr_type *  addr,
std::size_t *  addrlen 
) [inline]

Definition at line 577 of file socket_ops.hpp.

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 
) [inline]

Definition at line 464 of file socket_ops.hpp.

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 
) [inline]

Definition at line 417 of file socket_ops.hpp.

Definition at line 49 of file socket_ops.hpp.

int asio::detail::socket_ops::close ( socket_type  s,
asio::error_code ec 
) [inline]

Definition at line 132 of file socket_ops.hpp.

int asio::detail::socket_ops::connect ( socket_type  s,
const socket_addr_type *  addr,
std::size_t  addrlen,
asio::error_code ec 
) [inline]

Definition at line 165 of file socket_ops.hpp.

template<typename ReturnType >
ReturnType asio::detail::socket_ops::error_wrapper ( ReturnType  return_value,
asio::error_code ec 
) [inline]

Definition at line 60 of file socket_ops.hpp.

void asio::detail::socket_ops::freeaddrinfo ( addrinfo_type *  ai) [inline]

Definition at line 1794 of file socket_ops.hpp.

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 
) [inline]

Definition at line 1760 of file socket_ops.hpp.

int asio::detail::socket_ops::gethostname ( char *  name,
int  namelen,
asio::error_code ec 
) [inline]

Definition at line 868 of file socket_ops.hpp.

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 
) [inline]

Definition at line 1820 of file socket_ops.hpp.

int asio::detail::socket_ops::getpeername ( socket_type  s,
socket_addr_type *  addr,
std::size_t *  addrlen,
asio::error_code ec 
) [inline]

Definition at line 563 of file socket_ops.hpp.

int asio::detail::socket_ops::getsockname ( socket_type  s,
socket_addr_type *  addr,
std::size_t *  addrlen,
asio::error_code ec 
) [inline]

Definition at line 586 of file socket_ops.hpp.

int asio::detail::socket_ops::getsockopt ( socket_type  s,
int  level,
int  optname,
void *  optval,
size_t *  optlen,
asio::error_code ec 
) [inline]

Definition at line 474 of file socket_ops.hpp.

Definition at line 1872 of file socket_ops.hpp.

Definition at line 1882 of file socket_ops.hpp.

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 
) [inline]

Definition at line 704 of file socket_ops.hpp.

int asio::detail::socket_ops::inet_pton ( int  af,
const char *  src,
void *  dest,
unsigned long *  scope_id,
asio::error_code ec 
) [inline]

Definition at line 780 of file socket_ops.hpp.

void asio::detail::socket_ops::init_buf ( buf &  b,
void *  data,
size_t  size 
) [inline]

Definition at line 211 of file socket_ops.hpp.

void asio::detail::socket_ops::init_buf ( buf &  b,
const void *  data,
size_t  size 
) [inline]

Definition at line 222 of file socket_ops.hpp.

void asio::detail::socket_ops::init_msghdr_msg_name ( void *&  name,
socket_addr_type *  addr 
) [inline]

Definition at line 233 of file socket_ops.hpp.

void asio::detail::socket_ops::init_msghdr_msg_name ( void *&  name,
const socket_addr_type *  addr 
) [inline]

Definition at line 238 of file socket_ops.hpp.

template<typename T >
void asio::detail::socket_ops::init_msghdr_msg_name ( T &  name,
socket_addr_type *  addr 
) [inline]

Definition at line 244 of file socket_ops.hpp.

template<typename T >
void asio::detail::socket_ops::init_msghdr_msg_name ( T &  name,
const socket_addr_type *  addr 
) [inline]

Definition at line 250 of file socket_ops.hpp.

int asio::detail::socket_ops::ioctl ( socket_type  s,
long  cmd,
ioctl_arg_type *  arg,
asio::error_code ec 
) [inline]

Definition at line 599 of file socket_ops.hpp.

int asio::detail::socket_ops::listen ( socket_type  s,
int  backlog,
asio::error_code ec 
) [inline]

Definition at line 194 of file socket_ops.hpp.

Definition at line 1867 of file socket_ops.hpp.

Definition at line 1877 of file socket_ops.hpp.

int asio::detail::socket_ops::poll_read ( socket_type  s,
asio::error_code ec 
) [inline]

Definition at line 658 of file socket_ops.hpp.

int asio::detail::socket_ops::poll_write ( socket_type  s,
asio::error_code ec 
) [inline]

Definition at line 681 of file socket_ops.hpp.

int asio::detail::socket_ops::recv ( socket_type  s,
buf *  bufs,
size_t  count,
int  flags,
asio::error_code ec 
) [inline]

Definition at line 255 of file socket_ops.hpp.

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 
) [inline]

Definition at line 280 of file socket_ops.hpp.

int asio::detail::socket_ops::select ( int  nfds,
fd_set *  readfds,
fd_set *  writefds,
fd_set *  exceptfds,
timeval *  timeout,
asio::error_code ec 
) [inline]

Definition at line 615 of file socket_ops.hpp.

int asio::detail::socket_ops::send ( socket_type  s,
const buf *  bufs,
size_t  count,
int  flags,
asio::error_code ec 
) [inline]

Definition at line 312 of file socket_ops.hpp.

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 
) [inline]

Definition at line 340 of file socket_ops.hpp.

int asio::detail::socket_ops::setsockopt ( socket_type  s,
int  level,
int  optname,
const void *  optval,
std::size_t  optlen,
asio::error_code ec 
) [inline]

Definition at line 425 of file socket_ops.hpp.

int asio::detail::socket_ops::shutdown ( socket_type  s,
int  what,
asio::error_code ec 
) [inline]

Definition at line 147 of file socket_ops.hpp.

socket_type asio::detail::socket_ops::socket ( int  af,
int  type,
int  protocol,
asio::error_code ec 
) [inline]

Definition at line 371 of file socket_ops.hpp.

int asio::detail::socket_ops::socketpair ( int  af,
int  type,
int  protocol,
socket_type  sv[2],
asio::error_code ec 
) [inline]

Definition at line 178 of file socket_ops.hpp.

Definition at line 1721 of file socket_ops.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Castor
Author(s): Carpe Noctem
autogenerated on Fri Nov 8 2013 11:05:41