X-Git-Url: https://git.llucax.com/software/posixx.git/blobdiff_plain/3e0a7ecf57252241e9d5a87720ed6359818f8d28..HEAD:/test/socket/inet/common.hpp diff --git a/test/socket/inet/common.hpp b/test/socket/inet/common.hpp index 9884c7e..442bb3a 100644 --- a/test/socket/inet/common.hpp +++ b/test/socket/inet/common.hpp @@ -1,3 +1,9 @@ +// 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_ @@ -18,7 +24,7 @@ void clean_test_address(posixx::socket::inet::socket& socket, 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_