2024-03-08 14:03:37 +08:00

25 lines
338 B
C++

#include "examples/ace/ttcp/common.h"
#include <assert.h>
int main(int argc, char* argv[])
{
Options options;
if (parseCommandLine(argc, argv, &options))
{
if (options.transmit)
{
transmit(options);
}
else if (options.receive)
{
receive(options);
}
else
{
assert(0);
}
}
}