ircproxy The Ultimate Cyborg |
#include <ProxyListenSocket.h>
This class represents a listen socket through which clients may connect to the application.
Definition at line 31 of file ProxyListenSocket.h.
Public Member Functions | |
ProxyListenSocket (unsigned short int port) | |
Private Member Functions | |
void | new_connection (ClientSession &client_session) |
Called when a new connection has been accepted. |
ProxyListenSocket::ProxyListenSocket | ( | unsigned short int | port | ) | [inline] |
Construct a TCP/IP listen socket object for port port. Spawns ClientSession objects.
Definition at line 35 of file ProxyListenSocket.h.
References debug::channels::dc::objects.
00035 : listen_sock_dtct<ClientSession>(port, 4) 00036 { Dout(dc::objects, "Constructing ProxyListenSocket(" << port << ")"); }
void ProxyListenSocket::new_connection | ( | ClientSession & | client_session | ) | [private] |
Copyright © 2005-2007 Carlo Wood. All rights reserved. |
---|