59#include <gnutls/gnutls.h>
61 gnutls_session session;
62 gnutls_certificate_credentials xcred;
66#include <openssl/ssl.h>
91 {
return (
bool)(
ssl != NULL);};
102#ifdef CCXX_NAMESPACES
This object is used to hold the actual and valid internet address of a specific host machine that wil...
Definition address.h:562
This object is used to hold the actual and valid internet address of a specific host machine that wil...
Definition address.h:949
bool isSSL(void)
Definition ssl.h:90
ssize_t readData(void *buf, size_t len, char separator=0, timeout_t to=0)
SSLStream(const SSLStream &ssl)
SSLStream(Family family=IPV4, bool throwflag=true, timeout_t to=0)
SSLStream(const IPV4Host &host, tpport_t port, unsigned mss=536, bool throwflag=true, timeout_t to=0)
ssize_t readLine(char *str, size_t max, timeout_t to=0)
SSLStream(const IPV6Host &host, tpport_t port, unsigned mss=536, bool throwflag=true, timeout_t to=0)
ssize_t writeData(void *buf, size_t len, timeout_t to=0)
SSLStream(const char *name, Family family=IPV4, unsigned mss=536, bool throwflag=false, timeout_t to=0)
SSL * ssl
Definition ssl.h:76
Family
Definition socket.h:122
@ IPV4
Definition socket.h:126
TCP streams are used to represent TCP client connections to a server by TCP protocol servers for acce...
Definition socket.h:1632
Family family
Definition socket.h:1644
unsigned short tpport_t
Transport Protocol Ports.
Definition address.h:86
Network addresses and sockets related classes.
Synchronization and threading services.
unsigned long timeout_t
Definition thread.h:74