29 #ifndef __CATLSCLIENTSOCKET_HPP__
30 #define __CATLSCLIENTSOCKET_HPP__
31 #ifndef ONLY_LOCAL_PROXY
46 #define DEFAULT_HANDSHAKE_TIMEOUT 4
This is an abstract class for representing a socket address used in CASocket, CADatagramSocket and CA...
SINT32 send(const UINT8 *buff, UINT32 len)
Sends all data over the network.
SINT32 close()
Shuts down the socket.
SINT32 receive(UINT8 *buff, UINT32 len)
Will receive some bytes from the socket.
SINT32 connect(const CASocketAddr &psa, UINT32 msTimeout)
Establishes the actual TCP/IP connection and performs the TLS handshake.
SINT32 sendFully(const UINT8 *buff, UINT32 len)
Sends all data over the network.
SINT32 setServerCertificate(CACertificate *pCert)
Sets the Certifcate we accept as server identification.
CACertificate * m_pRootCert
bool m_bConnectedTLS
is the TLS layer established ?
SINT32 doTLSConnect(const CASocketAddr &psa)
Does the TLS handshake.