git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1395
270642c3-0616-0410-b53a-bc976706d245
alarm(10);
start(server_v4);
senf::TCPv4ClientSocketHandle sock;
- SENF_CHECK_NO_THROW( sock.bind(senf::INet4SocketAddress(localhost4str(1)) );
- SENF_CHECK_NO_THROW( sock.connect(senf::INet4SocketAddress(localhost4str(0)))) );
+ SENF_CHECK_NO_THROW( sock.bind(senf::INet4SocketAddress(localhost4str(1))) );
+ SENF_CHECK_NO_THROW( sock.connect(senf::INet4SocketAddress(localhost4str(0))) );
BOOST_CHECK( sock.peer() == senf::INet4SocketAddress(localhost4str(0)) );
BOOST_CHECK( sock.local() == senf::INet4SocketAddress(localhost4str(1)) );
BOOST_CHECK( sock.blocking() );
_exit(0);
}
signal(SIGCHLD, SIG_DFL);
+ sleep(1);
}
void wait()