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

get_sslid_ex

See Also

Returns the secure socket ID for a session.

int <protocol>_get_sslid_ex ( * session structure );
int ftp_get_sslid_ex ( FTP *ppftp );
ftp_get_sslid_ex returns the socket ID on an SSL connection for a session.
int smtp_get_sslid_ex ( SMTP *ppsmtp );
smtp_get_sslid_ex returns the socket ID on an SSL connection for a session.
int pop3_get_sslid_ex ( POP3 *pppop3 );
pop3_get_sslid_ex returns the socket ID on an SSL connection for a session.
int imap_get_sslid_ex ( IMAP *ppimap);
imap_get_sslid_ex returns the socket ID on an SSL connection for a session.

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

If you are not using sessions, use get_sslid.