## NAME

ACE_LSOCK - Create a Local ACE_SOCK, which is used for passing file descriptors.

## SYNOPSIS

    #include <ace/LSOCK.h>

    class ACE_LSOCK
    {
      public:
        int send_handle (const ACE_HANDLE handle) const;
        int recv_handle (
            ACE_HANDLE &handles,
            char *pbuf = 0,
            int *len = 0
            ) const;
        void dump (void) const;
        ACE_ALLOC_HOOK_DECLARE;
      protected:
        ACE_LSOCK (void);
        ACE_LSOCK (ACE_HANDLE handle);
        ACE_HANDLE get_handle (void) const;
        void set_handle (ACE_HANDLE handle);
      private:
        ACE_HANDLE aux_handle_;
    };

## Ensure that ACE_LSOCK is an abstract base class

    ACE_LSOCK (void);

Default constructor.

    ACE_LSOCK (ACE_HANDLE handle);

Initialize based on `handle`

    ACE_HANDLE get_handle (void) const;

Get handle.

    void set_handle (ACE_HANDLE handle);

Set handle.

## AUTHOR

Doug Schmidt

## LIBRARY

ace