get_sid

See Also

Returns the socket ID.

int  <protocol>_get_sid ();
int  ftp_get_sid ();
ftp_get_sid returns the socket ID.
int  smtp_get_sid ();
smtp_get_sid returns the socket ID.
int  pop3_get_sid ();
pop3_get_sid returns the socket ID.
int  imap_get_sid ();
imap_get_sid returns the socket ID.

These functions return the socket ID. On error, they return zero.

These are global functions. For an individual session use get_sid_ex.