Reference

ACE_LSOCK_CODgram(3)

Defines the member functions for the ACE_LSOCK connected datagram abstraction.

NAME

ACE_LSOCK_CODgram - Defines the member functions for the ACE_LSOCK connected datagram abstraction.

SYNOPSIS

#include <ace/LSOCK_CODgram.h>
class ACE_LSOCK_CODgram : public ACE_SOCK_CODgram, public ACE_LSOCK
{
  public:
    ACE_LSOCK_CODgram (void);
    ACE_LSOCK_CODgram (
        const ACE_Addr &remote_sap,
        const ACE_Addr &local_sap = ACE_Addr::sap_any,
        int protocol_family = PF_UNIX,
        int protocol = 0
        );
    int open (
        const ACE_Addr &remote_sap,
        const ACE_Addr &local_sap = ACE_Addr::sap_any,
        int protocol_family = PF_UNIX,
        int protocol = 0
        );
    ACE_HANDLE get_handle (void) const;
    void set_handle (ACE_HANDLE);
    void dump (void) const;
    ACE_ALLOC_HOOK_DECLARE;
};

Initialization methods.

ACE_LSOCK_CODgram (void);

Default constructor.

ACE_LSOCK_CODgram (
    const ACE_Addr &remote_sap,
    const ACE_Addr &local_sap = ACE_Addr::sap_any,
    int protocol_family = PF_UNIX,
    int protocol = 0
    );

Initiate a connected-datagram.

int open (
    const ACE_Addr &remote_sap,
    const ACE_Addr &local_sap = ACE_Addr::sap_any,
    int protocol_family = PF_UNIX,
    int protocol = 0
    );

Initiate a connected-datagram.

ACE_HANDLE get_handle (void) const;

Get underlying handle.

void set_handle (ACE_HANDLE);

Set underlying handle.

void dump (void) const;

Dump the state of an object.

ACE_ALLOC_HOOK_DECLARE;

Declare the dynamic allocation hooks.

AUTHOR

Doug Schmidt

LIBRARY

ace