#include <basic_socketstream_listener.h>
Collaboration diagram for ss::basic_listener< _CharT, _Traits >:
Public Types | |
typedef basic_socketstream< char_type, traits_type > | socketstream_type |
typedef _CharT | char_type |
These are standard types. | |
typedef _Traits | traits_type |
These are standard types. | |
typedef traits_type::int_type | int_type |
These are standard types. | |
typedef traits_type::pos_type | pos_type |
These are standard types. | |
typedef traits_type::off_type | off_type |
These are standard types. | |
Public Member Functions | |
basic_listener () | |
Constructor. | |
basic_listener (sockets_base::family __f) | |
Constructor. | |
~basic_listener () | |
Destructor. | |
template<typename AddressT> | |
void | bind (AddressT &__addr) |
Bind socket to local address. | |
void | listen (int __queue=5) |
Listen for incoming connections. | |
std::auto_ptr< socketstream_type > | accept () |
Accept incoming connection. | |
Protected Attributes | |
basic_socket | _M_socket |
A listener socket accepts incoming connections, returning stream objects representing them.
Definition at line 43 of file basic_socketstream_listener.h.
|
These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. Definition at line 54 of file basic_socketstream_listener.h. |
|
These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. Definition at line 57 of file basic_socketstream_listener.h. |
|
These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. Definition at line 59 of file basic_socketstream_listener.h. |
|
These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. Definition at line 58 of file basic_socketstream_listener.h. |
|
These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. Definition at line 55 of file basic_socketstream_listener.h. |
|
Accept incoming connection.
Definition at line 109 of file basic_socketstream_listener.h. |
|
Bind socket to local address.
Definition at line 91 of file basic_socketstream_listener.h. |
|
Listen for incoming connections.
Definition at line 100 of file basic_socketstream_listener.h. |