Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 2.00.00

Disconnect from a SMTP server.

Files

smtp-c.h/smtp-c.c

Prototype

 

Code Block
languagecpp
void  SMTPc_Disconnect (NET_SOCK_ID   sock_id,
                        SMTPc_ERR    *p_err);

 

Arguments

sock_id        

Socket descriptor/handle identifier.

p_err            

Pointer to variable that will receive the return error code from this function.

Returned Values

none.

Required Configuration

Module Configuration.

Notes / Warnings

  1. The receiver (client) MUST NOT intentionally close the transmission channel until it receives and replies to a QUIT command.

  2. The receiver of the QUIT command MUST send an OK reply, and then close the transmission channel.

Example Usage

none.