Network Library
[Libraries]


Detailed Description

Created: 13th January 2007 Updated: 13th January 2007.

This library contains components that .


Classes

class  basic_connection
 Represents an internet connection. More...
class  basic_session
 Represents an internet session. More...

Typedefs

typedef basic_connection< char > connection_a
 Specialisation of the basic_connection template for the ANSI character type char.
typedef basic_connection< wchar_t > connection_w
 Specialisation of the basic_connection template for the Unicode character type wchar_t.
typedef basic_connection< TCHAR > connection
 Specialisation of the basic_connection template for the Win32 character type TCHAR.
typedef basic_session< char > session_a
 Specialisation of the basic_session template for the ANSI character type char.
typedef basic_session< wchar_t > session_w
 Specialisation of the basic_session template for the Unicode character type wchar_t.
typedef basic_session< TCHAR > session
 Specialisation of the basic_session template for the Win32 character type TCHAR.

Functions

bool close_and_deregister (ACE_SOCK &sk, ACE_Reactor *reactor)
 Closes a socket and deregisters it from the reactor.


Typedef Documentation

typedef basic_connection<TCHAR> connection

Specialisation of the basic_connection template for the Win32 character type TCHAR.

typedef basic_connection< char > connection_a

Specialisation of the basic_connection template for the ANSI character type char.

typedef basic_connection< wchar_t > connection_w

Specialisation of the basic_connection template for the Unicode character type wchar_t.

typedef basic_session<TCHAR> session

Specialisation of the basic_session template for the Win32 character type TCHAR.

typedef basic_session< char > session_a

Specialisation of the basic_session template for the ANSI character type char.

typedef basic_session< wchar_t > session_w

Specialisation of the basic_session template for the Unicode character type wchar_t.


Function Documentation

bool acestl::close_and_deregister ( ACE_SOCK &  sk,
ACE_Reactor *  reactor 
) [inline]

Closes a socket and deregisters it from the reactor.

Parameters:
sk Reference to the socket to close
reactor Reactor from which the socket will be deregistered. May be NULL.
Returns:
true if the socket was previously closed, false otherwise. There is no error return
Usage is simple. Just specify the socket to close and, optionally, the reactor with which it is registered.

// close and deregister m_upstreamPeer and m_downstreamPeer (both ACE_SOCK_Stream)
acestl::close_and_deregister(m_peer, reactor());


Generated on Thu Jun 10 08:58:18 2010 for STLSoft by  doxygen 1.5.6