Logo Search packages:      
Sourcecode: znc version File versions

CSListener::CSListener ( u_short  iPort,
const CS_STRING &  sBindHost = "" 
) [inline]

Parameters:
iPort port to listen on. Set to 0 to listen on a random port
sBindHost host to bind to

Definition at line 1088 of file Csocket.h.

      {
            m_iPort = iPort;
            m_sBindHost = sBindHost;
            m_bIsSSL = false;
            m_iMaxConns = SOMAXCONN;
            m_iTimeout = 0;
            m_iAFrequire = CSSockAddr::RAF_ANY;
#ifdef HAVE_LIBSSL
            m_sCipher = "HIGH";
            m_bRequiresClientCert = false;
#endif /* HAVE_LIBSSL */
      }


Generated by  Doxygen 1.6.0   Back to index