There are no available options for this view.

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by botg, Mon Dec 23 16:50:13 2002 UTC revision 1.2 by botg, Fri Apr 4 20:20:46 2003 UTC
# Line 77  Line 77 
77  #ifndef NOLAYERS  #ifndef NOLAYERS
78  class CAsyncSocketExLayer;  class CAsyncSocketExLayer;
79  #endif //NOLAYERS  #endif //NOLAYERS
80    class CCriticalSectionWrapper;
81  class CAsyncSocketEx  class CAsyncSocketEx
82  {  {
83  public:  public:
# Line 93  Line 94 
94    
95          //Creates a socket.          //Creates a socket.
96          BOOL Create(UINT nSocketPort = 0, int nSocketType = SOCK_STREAM,          BOOL Create(UINT nSocketPort = 0, int nSocketType = SOCK_STREAM,
97                                  long lEvent = FD_READ | FD_WRITE | FD_OOB | FD_ACCEPT |                                  long lEvent = FD_READ | FD_WRITE | FD_OOB | FD_ACCEPT | FD_CONNECT | FD_CLOSE,
                                                         FD_CONNECT | FD_CLOSE,  
98                                  LPCTSTR lpszSocketAddress = NULL );                                  LPCTSTR lpszSocketAddress = NULL );
99    
100    
101          //Atributes          //Attributes
102          //---------          //---------
103    
104          //Attaches a socket handle to a CAsyncSocketEx object.          //Attaches a socket handle to a CAsyncSocketEx object.
# Line 225  Line 225 
225          void DetachHandle(SOCKET hSocket);          void DetachHandle(SOCKET hSocket);
226    
227          //Critical section for thread synchronization          //Critical section for thread synchronization
228          static CRITICAL_SECTION m_sGlobalCriticalSection;          static CCriticalSectionWrapper m_sGlobalCriticalSection;
229    
230          //Pointer to the data of the local thread          //Pointer to the data of the local thread
231          struct t_AsyncSocketExThreadData          struct t_AsyncSocketExThreadData

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2