diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-12-30 06:50:29 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-12-30 06:50:29 +0000 |
commit | a4a7690c336d4c8a16b3041c86d501ba38226e96 (patch) | |
tree | 9e9f93a98edd2591453f092d178ad29a1c5fb519 /ace/SOCK.h | |
parent | a5c4d8047ab58df5c45092e18ae503ad40518f0e (diff) | |
download | ATCD-unlabeled-4.1.2.tar.gz |
This commit was manufactured by cvs2svn to create branchunlabeled-4.1.2
'unlabeled-4.1.2'.
Diffstat (limited to 'ace/SOCK.h')
-rw-r--r-- | ace/SOCK.h | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/ace/SOCK.h b/ace/SOCK.h deleted file mode 100644 index bc2e64dc022..00000000000 --- a/ace/SOCK.h +++ /dev/null @@ -1,79 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// ace -// -// = FILENAME -// SOCK.h -// -// = AUTHOR -// Doug Schmidt -// -// ============================================================================ - -#if !defined (ACE_SOCK_H) -#define ACE_SOCK_H - -#include "ace/ACE.h" -#include "ace/Addr.h" -#include "ace/IPC_SAP.h" - -class ACE_Export ACE_SOCK : public ACE_IPC_SAP - // = TITLE - // Defines the member functions for the base class of the - // ACE_SOCK abstraction. -{ -public: - int set_option (int level, - int option, - void *optval, - int optlen) const; - // Wrapper around the setsockopt() system call. - - int get_option (int level, - int option, - void *optval, - int *optlen) const; - // Wrapper around the getsockopt() system call. - - int close (void); - // Close down the socket. - - int get_local_addr (ACE_Addr &) const; - // Return the local endpoint address. - - int get_remote_addr (ACE_Addr &) const; - // Return the address of the remotely connected peer (if there is - // one). - - void dump (void) const; - // Dump the state of an object. - - ACE_ALLOC_HOOK_DECLARE; - // Declare the dynamic allocation hooks. - -protected: - // = Make this an abstract class. - ACE_SOCK (void); - // Default constructor. - - int open (int type, - int protocol_family, - int protocol); - // Wrapper around the socket() system call. - - ACE_SOCK (int type, int protocol_family, int protocol = 0); - // Wrapper around the socket() system call. - -#if defined (ACE_WIN32) - static ACE_SOCK dummy_; - // Used to ensure we initialize WinSock! -#endif /* ACE_WIN32 */ -}; - -#include "ace/SOCK.i" - -#endif /* ACE_SOCK_H */ |