This procedural type is used for monitoring of communication.
THookAfterConnect = procedure(Sender: TObject) of object;
This procedural type is used for hook OnAfterConnect. By this hook you can insert your code after TCP socket has been sucessfully connected.
THookVerifyCert = function(Sender: TObject):boolean of object;
This procedural type is used for hook OnVerifyCert. By this hook you can insert your additional certificate verification code. Usefull to verify server CN against URL.
THookHeartbeat = procedure(Sender: TObject) of object;
This procedural type is used for hook OnHeartbeat. By this hook you can call your code repeately during long socket operations. You must enable heartbeats by HeartbeatRate property!
TSocketFamily = (...);
Specify family of socket.
SF_Any: Default mode. Socket family is defined by target address for connection. It allows instant access to IPv4 and IPv6 nodes. When you need IPv6 address as destination, then is used IPv6 mode. othervise is used IPv4 mode. However this mode not working properly with preliminary IPv6 supports!
SF_IP4: Turn this class to pure IPv4 mode. This mode is totally compatible with previous Synapse releases.
SF_IP6: Turn to only IPv6 mode.
TSocksType = (...);
specify possible values of SOCKS modes.
TSSLType = (...);
Specify requested SSL/TLS version for secure connection.