Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Disconnect from a SMTP server.

Files

smtp-c.h/smtp-c.c

Prototype

 

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.

  • No labels