SMTP压力测试工具:客户端程序smtp-client.c

SMTP压力测试工具:客户端程序smtp-client.c

/*++
/* NAME
/*	smtp-sink 8
/* SUMMARY
/*	multi-threaded SMTP/LMTP test server
/* SYNOPSIS
/*	smtp-sink [-cLpv] [-w delay] [host]:port backlog
/* DESCRIPTION
/*	\\\\fIsmtp-sink\\\\fR listens on the named host (or address) and port.
/*	It takes SMTP messages from the network and throws them away.
/*	The purpose is to measure SMTP client performance, not protocol
/*	compliance.
/*	This program is the complement of the \\\\fIsmtp-source\\\\fR program.
/* .IP -c
/*	Display a running counter that is updated whenever an SMTP
/*	QUIT command is executed.
/* .IP -L
/*	Speak LMTP rather than SMTP.
/* .IP -p
/*	Disable ESMTP command pipelining.
/* .IP -v
/*	Show the SMTP conversations.
/* .IP \\\"-w delay\\\"
/*	Wait \\\\fIdelay\\\\fR seconds before responding to a DATA command.
/* SEE ALSO
/*	smtp-source, SMTP/LMTP test message generator
/* LICENSE
/* .ad
/* .fi
/*	The Secure Mailer license must be distributed with this software.
/* AUTHOR(S)
/*	Wietse Venema
/*	IBM T.J. Watson Research
/*	P.O. Box 704
/*	Yorktown Heights, NY 10598, USA
/*--*/

/* System library. */

#include 

分享到