NAME

ACE_SOCK_IO - Defines the methods for the ACE socket wrapper I/O routines (e.g., send/recv).

SYNOPSIS

#include <ace/SOCK_IO.h>

class ACE_SOCK_IO : public ACE_SOCK { public: ACE_SOCK_IO (void); ~ACE_SOCK_IO (void); ssize_t send (const void *buf, size_t n, int flags) const; ssize_t recv (void *buf, size_t n, int flags) const; ssize_t send (const void *buf, size_t n) const; ssize_t recv (void *buf, size_t n) const; ssize_t sendv (const iovec iov[], size_t n) const; ssize_t send (const iovec iov[], size_t n) const; ssize_t recvv (iovec *io_vec, const ACE_Time_Value *timeout = 0); ssize_t recv (iovec *io_vec, const ACE_Time_Value *timeout = 0); ssize_t send ( const void *buf, size_t n, int flags, const ACE_Time_Value *timeout ) const; ssize_t recv ( void *buf, size_t n, int flags, const ACE_Time_Value *timeout ) const; ssize_t send ( const void *buf, size_t n, const ACE_Time_Value *timeout ) const; ssize_t recv ( void *buf, size_t n, const ACE_Time_Value *timeout ) const; ssize_t send (size_t n, ...) const; ssize_t recv (size_t n, ...) const; ssize_t send ( const void *buf, size_t n, ACE_OVERLAPPED *overlapped ) const; ssize_t recv ( void *buf, size_t n, ACE_OVERLAPPED *overlapped ) const; void dump (void) const; ACE_ALLOC_HOOK_DECLARE; };

Initialization and termination methods.

ACE_SOCK_IO (void);

~ACE_SOCK_IO (void);

ssize_t send (const void *buf, size_t n, int flags) const;

ssize_t recv (void *buf, size_t n, int flags) const;

ssize_t send (const void *buf, size_t n) const;

ssize_t recv (void *buf, size_t n) const;

ssize_t sendv (const iovec iov[], size_t n) const;

ssize_t send (const iovec iov[], size_t n) const;

ssize_t recvv (iovec *io_vec, const ACE_Time_Value *timeout = 0);

ssize_t recv (iovec *io_vec, const ACE_Time_Value *timeout = 0);

ssize_t send (
    const void *buf,
    size_t n,
    int flags,
    const ACE_Time_Value *timeout
    ) const;

ssize_t recv (
    void *buf,
    size_t n,
    int flags,
    const ACE_Time_Value *timeout
    ) const;

ssize_t send (
    const void *buf,
    size_t n,
    const ACE_Time_Value *timeout
    ) const;

ssize_t recv (
    void *buf,
    size_t n,
    const ACE_Time_Value *timeout
    ) const;

ssize_t send (size_t n, ...) const;

ssize_t recv (size_t n, ...) const;

ssize_t send (
    const void *buf,
    size_t n,
    ACE_OVERLAPPED *overlapped
    ) const;

ssize_t recv (void *buf, size_t n, ACE_OVERLAPPED *overlapped) const;

void dump (void) const;

ACE_ALLOC_HOOK_DECLARE;

AUTHOR

Doug Schmidt

LIBRARY

ace