Utility Functions and C Language Reference > Utility Functions: Socket ID Functions > get_sslid

get_sslid

See Also

Returns the secure socket ID.

int <protocol>_get_sslid ();
int ftp_get_sslid ();
ftp_get_sslid returns the socket ID on an SSL connection.
int smtp_get_sslid ();
smtp_get_sslid returns the socket ID on an SSL connection.
int pop3_get_sslid ();
pop3_get_sslid returns the socket ID on an SSL connection.
int imap_get_sslid ();
imap_get_sslid returns the socket ID on an SSL connection.

These functions return the socket ID on an SSL connection. On error, they return zero.

These are global functions. For an individual session, use get_sslid_ex.