1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
/* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| https://www.mrpt.org/ |
| |
| Copyright (c) 2005-2023, Individual contributors, see AUTHORS file |
| See: https://www.mrpt.org/Authors - All rights reserved. |
| Released under BSD License. See: https://www.mrpt.org/License |
+------------------------------------------------------------------------+ */
#define SOCKET_TEST_VERBOSE
#include <iostream>
#include "SocketsTest_impl.cpp"
// ------------------------------------------------------
// MAIN
// ------------------------------------------------------
int main()
{
try
{
SocketsTest();
return 0;
}
catch (const std::exception& e)
{
std::cerr << "MRPT exception caught: " << e.what() << std::endl;
return -1;
}
catch (...)
{
std::cerr << "Untyped exception!!";
return -1;
}
}
|