diff --git a/asio/src/tests/dgram_echo_client_test.cpp b/asio/src/tests/dgram_echo_client_test.cpp index 147cb72f..23d35012 100644 --- a/asio/src/tests/dgram_echo_client_test.cpp +++ b/asio/src/tests/dgram_echo_client_test.cpp @@ -10,10 +10,10 @@ class dgram_handler public: dgram_handler(demuxer& d) : demuxer_(d), - socket_(d, inet_address_v4(12347)), + socket_(d, inet_address_v4(32123)), count_(0) { - inet_address_v4 destination(12346, "localhost"); + inet_address_v4 destination(32124, "localhost"); char msg[] = "Hello, World!\n"; memcpy(data_, msg, sizeof(msg)); socket_.async_sendto(data_, sizeof(msg) - 1, destination, diff --git a/asio/src/tests/dgram_echo_server_test.cpp b/asio/src/tests/dgram_echo_server_test.cpp index e34a1a07..3ee4fb13 100644 --- a/asio/src/tests/dgram_echo_server_test.cpp +++ b/asio/src/tests/dgram_echo_server_test.cpp @@ -9,7 +9,7 @@ class dgram_handler public: dgram_handler(demuxer& d) : demuxer_(d), - socket_(d, inet_address_v4(12346)) + socket_(d, inet_address_v4(32124)) { socket_.async_recvfrom(data_, max_length, sender_address_, boost::bind(&dgram_handler::handle_recvfrom, this, _1, _2)); diff --git a/asio/src/tests/echo_client_test.cpp b/asio/src/tests/echo_client_test.cpp index b0ff530f..c7eba93c 100644 --- a/asio/src/tests/echo_client_test.cpp +++ b/asio/src/tests/echo_client_test.cpp @@ -71,7 +71,7 @@ public: { echo_session* new_session = new echo_session(demuxer_); connector_.async_connect(new_session->socket(), - inet_address_v4(12345, "localhost"), + inet_address_v4(32123, "localhost"), boost::bind(&echo_client::handle_connect, this, new_session, _1)); } @@ -83,7 +83,7 @@ public: { echo_session* new_session = new echo_session(demuxer_); connector_.async_connect(new_session->socket(), - inet_address_v4(12345, "localhost"), + inet_address_v4(32123, "localhost"), boost::bind(&echo_client::handle_connect, this, new_session, _1)); } diff --git a/asio/src/tests/echo_server_test.cpp b/asio/src/tests/echo_server_test.cpp index 5cbf16e5..ba7812cf 100644 --- a/asio/src/tests/echo_server_test.cpp +++ b/asio/src/tests/echo_server_test.cpp @@ -60,7 +60,7 @@ class echo_server public: echo_server(demuxer& d) : demuxer_(d), - acceptor_(d, inet_address_v4(12345)) + acceptor_(d, inet_address_v4(32123)) { echo_session* new_session = new echo_session(demuxer_); acceptor_.async_accept(new_session->socket(), diff --git a/asio/src/tests/socket_accept_test.cpp b/asio/src/tests/socket_accept_test.cpp index c91a2477..77b259ed 100644 --- a/asio/src/tests/socket_accept_test.cpp +++ b/asio/src/tests/socket_accept_test.cpp @@ -9,7 +9,7 @@ class accept_handler public: accept_handler(demuxer& d) : demuxer_(d), - acceptor_(d, inet_address_v4(12345)), + acceptor_(d, inet_address_v4(32123)), peer_(d), handler_(boost::bind(&accept_handler::handle_accept, this, _1)), accept_count_(0) diff --git a/asio/src/tests/timed_dgram_recv_test.cpp b/asio/src/tests/timed_dgram_recv_test.cpp index 2a9b5602..9219894a 100644 --- a/asio/src/tests/timed_dgram_recv_test.cpp +++ b/asio/src/tests/timed_dgram_recv_test.cpp @@ -10,7 +10,7 @@ public: dgram_handler(demuxer& d) : demuxer_(d), timer_queue_(d), - socket_(d, inet_address_v4(12346)) + socket_(d, inet_address_v4(32124)) { socket_.async_recvfrom(data_, max_length, sender_address_, boost::bind(&dgram_handler::handle_recvfrom, this, _1, _2)); diff --git a/asio/src/tests/tpc_echo_server_test.cpp b/asio/src/tests/tpc_echo_server_test.cpp index 32c8b5d2..227b2c2a 100644 --- a/asio/src/tests/tpc_echo_server_test.cpp +++ b/asio/src/tests/tpc_echo_server_test.cpp @@ -28,7 +28,7 @@ void tpc_echo_session(stream_socket_ptr sock) void tpc_echo_server(demuxer& d) { - socket_acceptor a(d, inet_address_v4(12345)); + socket_acceptor a(d, inet_address_v4(32123)); for (;;) { stream_socket_ptr sock(new stream_socket(d));