OS_NS_sys_socket.h File Reference

#include "ace/os_include/sys/os_socket.h"
#include "ace/os_include/net/os_if.h"
#include "ace/OS_NS_stropts.h"
Include dependency graph for OS_NS_sys_socket.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  ACE_OS
 

This namespace defines an OS independent programming API that shields developers from nonportable aspects of writing efficient system programs on Win32, POSIX and other versions of UNIX, and various real-time operating systems.


Defines

#define ACE_SHUTDOWN_WRITE   1
#define ACE_SHUTDOWN_BOTH   2

Functions



ACE_NAMESPACE_INLINE_FUNCTION
ACE_HANDLE 
ACE_OS::accept (ACE_HANDLE handle, struct sockaddr *addr, int *addrlen)
 BSD-style accept (no QoS).
ACE_Export ACE_HANDLE ACE_OS::accept (ACE_HANDLE handle, struct sockaddr *addr, int *addrlen, const ACE_Accept_QoS_Params &qos_params)
ACE_NAMESPACE_INLINE_FUNCTION int ACE_OS::bind (ACE_HANDLE s, struct sockaddr *name, int namelen)
 BSD-style accept (no QoS).
ACE_NAMESPACE_INLINE_FUNCTION int ACE_OS::closesocket (ACE_HANDLE s)
 Takes care of windows specific requirement to call closesocket.
ACE_NAMESPACE_INLINE_FUNCTION int ACE_OS::connect (ACE_HANDLE handle, struct sockaddr *addr, int addrlen)
 BSD-style connect (no QoS).
ACE_Export int ACE_OS::connect (ACE_HANDLE handle, const sockaddr *addr, int addrlen, const ACE_QoS_Params &qos_params)
ACE_NAMESPACE_INLINE_FUNCTION int ACE_OS::enum_protocols (int *protocols, ACE_Protocol_Info *protocol_buffer, u_long *buffer_length)
ACE_NAMESPACE_INLINE_FUNCTION int ACE_OS::getpeername (ACE_HANDLE handle, struct sockaddr *addr, int *addrlen)
 BSD-style accept (no QoS).
ACE_NAMESPACE_INLINE_FUNCTION int ACE_OS::getsockname (ACE_HANDLE handle, struct sockaddr *addr, int *addrlen)
 BSD-style accept (no QoS).
ACE_NAMESPACE_INLINE_FUNCTION int ACE_OS::getsockopt (ACE_HANDLE handle, int level, int optname, char *optval, int *optlen)
 BSD-style accept (no QoS).
ACE_Export ACE_HANDLE ACE_OS::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 ACE_OS::listen (ACE_HANDLE handle, int backlog)
 BSD-style accept (no QoS).
ACE_NAMESPACE_INLINE_FUNCTION
ssize_t 
ACE_OS::recv (ACE_HANDLE handle, char *buf, size_t len, int flags=0)
 BSD-style accept (no QoS).
ACE_NAMESPACE_INLINE_FUNCTION
ssize_t 
ACE_OS::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
ssize_t 
ACE_OS::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
ssize_t 
ACE_OS::recvmsg (ACE_HANDLE handle, struct msghdr *msg, int flags)
 BSD-style accept (no QoS).
ACE_NAMESPACE_INLINE_FUNCTION
ssize_t 
ACE_OS::recvv (ACE_HANDLE handle, iovec *iov, int iovlen)
 BSD-style accept (no QoS).
ACE_NAMESPACE_INLINE_FUNCTION
ssize_t 
ACE_OS::send (ACE_HANDLE handle, const char *buf, size_t len, int flags=0)
 BSD-style accept (no QoS).
ACE_NAMESPACE_INLINE_FUNCTION
ssize_t 
ACE_OS::sendmsg (ACE_HANDLE handle, const struct msghdr *msg, int flags)
 BSD-style accept (no QoS).
ACE_NAMESPACE_INLINE_FUNCTION
ssize_t 
ACE_OS::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
ssize_t 
ACE_OS::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 
ACE_OS::sendv (ACE_HANDLE handle, const iovec *iov, int iovcnt)
 BSD-style accept (no QoS).
ACE_NAMESPACE_INLINE_FUNCTION int ACE_OS::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 ACE_OS::shutdown (ACE_HANDLE handle, int how)
 BSD-style accept (no QoS).
ACE_Export int ACE_OS::socket_init (int version_high=1, int version_low=1)
ACE_Export int ACE_OS::socket_fini (void)
 Finalize WinSock after last use (e.g., when a DLL is unloaded).
ACE_NAMESPACE_INLINE_FUNCTION
ACE_HANDLE 
ACE_OS::socket (int protocol_family, int type, int proto)
 Create a BSD-style socket (no QoS).
ACE_NAMESPACE_INLINE_FUNCTION
ACE_HANDLE 
ACE_OS::socket (int protocol_family, int type, int proto, ACE_Protocol_Info *protocolinfo, ACE_SOCK_GROUP g, u_long flags)
ACE_NAMESPACE_INLINE_FUNCTION int ACE_OS::socketpair (int domain, int type, int protocol, ACE_HANDLE sv[2])
 BSD-style accept (no QoS).

Detailed Description

Id
OS_NS_sys_socket.h 85110 2009-04-20 09:18:43Z msmit
Author:
Douglas C. Schmidt <schmidt@cs.wustl.edu>
Jesper S. M|ller<stophph@diku.dk>
and a cast of thousands...

Originally in OS.h.


Define Documentation

#define ACE_SHUTDOWN_BOTH   2
#define ACE_SHUTDOWN_WRITE   1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Fri Sep 11 03:54:15 2009 for ACE by  doxygen 1.6.1