A simple, portable tool for measuring SMTP server delay, delay variation and throughput.
C++ Roff CMake
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore gitignore Nov 12, 2014
CMakeLists.txt Minor fixes for correctness Dec 6, 2015
LICENSE * initial commit Feb 1, 2011
README.md Update README.md Dec 15, 2015
resolver.cpp
resolver.hpp Compile on Linux Dec 9, 2013
smtpping.1 fix spelling-error-in-manpage Jun 19, 2016
smtpping.cpp Allow -r to be used with -P1 Feb 21, 2018
smtpping.dev * initial commit Feb 1, 2011

README.md

A simple, portable tool for measuring SMTP server delay, delay variation and throughput. Feel free to contact support@halon.io

Coverity Scan Build

Usage

The two first examples measures delay, and the last example measures throughput (-r -w0) using 50 threads (-P50).

$ smtpping test@halon.io
$ smtpping test@halon.io @10.2.0.31
$ smtpping -P50 -r -w0 test@halon.io @10.2.0.31

Building

Building on *NIX can be done manually using a C++ compiler such as GNU's g++ or by using cmake. It could be easily ported to a Makefile.

$ cmake .
$ make

Building on Windows

A project file for Dev-C++ is included, should be quite portable to eg. VS.