Delta Chat Core C Interface
Loading...
Searching...
No Matches
Macros
DC_SOCKET

Macros

#define DC_SOCKET_AUTO   0
 Choose socket security automatically.
 
#define DC_SOCKET_PLAIN   3
 Connect unencrypted, this should not be used.
 
#define DC_SOCKET_SSL   1
 Connect via SSL/TLS.
 
#define DC_SOCKET_STARTTLS   2
 Connect via STARTTLS.
 

Detailed Description

These constants configure socket security. To set socket security, use dc_set_config() with the keys "mail_security" and/or "send_security". If no socket-configuration is explicitly specified, DC_SOCKET_AUTO is used.