+// Copyright Leandro Lucarella 2008 - 2010.
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file COPYING or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+
#ifndef TEST_SOCKET_IP_COMMON_HPP_
#define TEST_SOCKET_IP_COMMON_HPP_
socket.opt< posixx::socket::opt::REUSEADDR >(true);
}
-static posixx::socket::inet::sockaddr test_address1(PORT1, IP);
-static posixx::socket::inet::sockaddr test_address2(PORT2, IP);
+static posixx::socket::inet::sockaddr test_address1(IP, PORT1);
+static posixx::socket::inet::sockaddr test_address2(IP, PORT2);
#endif // TEST_SOCKET_IP_COMMON_HPP_