#include "ace/config-all.h"
#include "ace/os_include/sys/os_socket.h"
#include "ace/os_include/net/os_if.h"
#include "ace/OS_NS_stropts.h"
#include "ace/ACE_export.h"
#include "ace/OS_NS_sys_socket.inl"
Include dependency graph for OS_NS_sys_socket.h:
This graph shows which files directly or indirectly include this file:
Namespaces | |
namespace | ACE_OS |
A set of wrappers for sockets. | |
ACE_NAMESPACE_INLINE_FUNCTION ACE_HANDLE | accept (ACE_HANDLE handle, struct sockaddr *addr, int *addrlen) |
BSD-style <accept> (no QoS). | |
ACE_Export ACE_HANDLE | accept (ACE_HANDLE handle, struct sockaddr *addr, int *addrlen, const ACE_Accept_QoS_Params &qos_params) |
ACE_NAMESPACE_INLINE_FUNCTION int | bind (ACE_HANDLE s, struct sockaddr *name, int namelen) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | closesocket (ACE_HANDLE s) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | connect (ACE_HANDLE handle, struct sockaddr *addr, int addrlen) |
BSD-style <connect> (no QoS). | |
ACE_Export int | connect (ACE_HANDLE handle, const sockaddr *addr, int addrlen, const ACE_QoS_Params &qos_params) |
ACE_NAMESPACE_INLINE_FUNCTION int | enum_protocols (int *protocols, ACE_Protocol_Info *protocol_buffer, u_long *buffer_length) |
ACE_NAMESPACE_INLINE_FUNCTION int | getpeername (ACE_HANDLE handle, struct sockaddr *addr, int *addrlen) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | getsockname (ACE_HANDLE handle, struct sockaddr *addr, int *addrlen) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | getsockopt (ACE_HANDLE handle, int level, int optname, char *optval, int *optlen) |
BSD-style <accept> (no QoS). | |
ACE_Export ACE_HANDLE | join_leaf (ACE_HANDLE socket, const sockaddr *name, int namelen, const ACE_QoS_Params &qos_params) |
Joins a leaf node into a QoS-enabled multi-point session. | |
ACE_NAMESPACE_INLINE_FUNCTION int | listen (ACE_HANDLE handle, int backlog) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | recv (ACE_HANDLE handle, char *buf, size_t len, int flags=0) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | recvfrom (ACE_HANDLE handle, char *buf, size_t len, int flags, struct sockaddr *addr, int *addrlen) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | recvfrom (ACE_HANDLE handle, iovec *buffers, int buffer_count, size_t &number_of_bytes_recvd, int &flags, struct sockaddr *addr, int *addrlen, ACE_OVERLAPPED *overlapped, ACE_OVERLAPPED_COMPLETION_FUNC func) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | recvmsg (ACE_HANDLE handle, struct msghdr *msg, int flags) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION ssize_t | recvv (ACE_HANDLE handle, iovec *iov, int iovlen) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | send (ACE_HANDLE handle, const char *buf, size_t len, int flags=0) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | sendmsg (ACE_HANDLE handle, const struct msghdr *msg, int flags) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | sendto (ACE_HANDLE handle, const char *buf, size_t len, int flags, const struct sockaddr *addr, int addrlen) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | sendto (ACE_HANDLE handle, const iovec *buffers, int buffer_count, size_t &number_of_bytes_sent, int flags, const struct sockaddr *addr, int addrlen, ACE_OVERLAPPED *overlapped, ACE_OVERLAPPED_COMPLETION_FUNC func) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION ssize_t | sendv (ACE_HANDLE handle, const iovec *iov, int iovcnt) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | setsockopt (ACE_HANDLE handle, int level, int optname, const char *optval, int optlen) |
Manipulate the options associated with a socket. | |
ACE_NAMESPACE_INLINE_FUNCTION int | shutdown (ACE_HANDLE handle, int how) |
BSD-style <accept> (no QoS). | |
ACE_Export int | socket_init (int version_high=1, int version_low=1) |
ACE_Export int | socket_fini (void) |
Finalize WinSock after last use (e.g., when a DLL is unloaded). | |
ACE_NAMESPACE_INLINE_FUNCTION ACE_HANDLE | socket (int protocol_family, int type, int proto) |
Create a BSD-style socket (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION ACE_HANDLE | socket (int protocol_family, int type, int proto, ACE_Protocol_Info *protocolinfo, ACE_SOCK_GROUP g, u_long flags) |
ACE_NAMESPACE_INLINE_FUNCTION int | socketpair (int domain, int type, int protocol, ACE_HANDLE sv[2]) |
BSD-style <accept> (no QoS). | |
Defines | |
#define | ACE_EXPORT_MACRO ACE_Export |
#define | ACE_SHUTDOWN_READ 0 |
These are available values for the how argument to ACE_OS::shutdown(). | |
#define | ACE_SHUTDOWN_WRITE 1 |
#define | ACE_SHUTDOWN_BOTH 2 |
#define | ACE_INLINE inline |
Variables | |
ACE_Export int | socket_initialized_ |
Keeps track of whether we've already initialized WinSock... |
Jesper S. M|ller<stophph@diku.dk>
and a cast of thousands...
|
|
|
|
|
|
|
These are available values for the how argument to ACE_OS::shutdown().
|
|
|
|
QoS-enabled <accept>, which passes <qos_params> to <accept>. If the OS platform doesn't support QoS-enabled <accept> then the <qos_params> are ignored and the BSD-style <accept> is called. |
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
QoS-enabled <connect>, which passes <qos_params> to <connect>. If the OS platform doesn't support QoS-enabled <connect> then the <qos_params> are ignored and the BSD-style <connect> is called. |
|
BSD-style <connect> (no QoS).
|
|
Retrieve information about available transport protocols installed on the local machine. Windows specific... |
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
Joins a leaf node into a QoS-enabled multi-point session.
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
Manipulate the options associated with a socket.
|
|
BSD-style <accept> (no QoS).
|
|
Create a QoS-enabled socket. If the OS platform doesn't support QoS-enabled <socket> then the BSD-style <socket> is called. |
|
Create a BSD-style socket (no QoS).
|
|
Finalize WinSock after last use (e.g., when a DLL is unloaded).
|
|
Initialize WinSock before first use (e.g., when a DLL is first loaded or the first use of a socket() call. |
|
BSD-style <accept> (no QoS).
|
|
Keeps track of whether we've already initialized WinSock...
|