Logo Search packages:      
Sourcecode: znc version File versions  Download package

Csock::Csock ( const CS_STRING &  sHostname,
u_short  iport,
int  itimeout = 60 

Advanced constructor, for creating a simple connection

sHostname the hostname your are connecting to
iport the port you are connectint to
itimeout how long to wait before ditching the connection, default is 60 seconds

Definition at line 507 of file Csocket.cpp.

      m_pCerVerifyCB = NULL;
#endif /* HAVE_LIBSSL */
#ifdef ___DO_THREADS
      m_pResolver = NULL;
#endif /* ___DO_THREADS */
      Init( sHostname, iport, itimeout );

Generated by  Doxygen 1.6.0   Back to index