Logo Search packages:      
Sourcecode: znc version File versions

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

Advanced constructor, for creating a simple connection

Parameters:
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 371 of file Csocket.cpp.

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


Generated by  Doxygen 1.6.0   Back to index