mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
Merge branch 'poco-1.11.0' of github.com:pocoproject/poco into poco-1.11.0
This commit is contained in:
commit
2855595729
@ -160,8 +160,8 @@ void PollSetTest::testPollClosedServer()
|
|||||||
StreamSocket ss1;
|
StreamSocket ss1;
|
||||||
StreamSocket ss2;
|
StreamSocket ss2;
|
||||||
|
|
||||||
ss1.connectNB(SocketAddress("127.0.0.1", echoServer1.port()));
|
ss1.connect(SocketAddress("127.0.0.1", echoServer1.port()));
|
||||||
ss2.connectNB(SocketAddress("127.0.0.1", echoServer2.port()));
|
ss2.connect(SocketAddress("127.0.0.1", echoServer2.port()));
|
||||||
PollSet ps;
|
PollSet ps;
|
||||||
assertTrue(ps.empty());
|
assertTrue(ps.empty());
|
||||||
ps.add(ss1, PollSet::POLL_READ);
|
ps.add(ss1, PollSet::POLL_READ);
|
||||||
|
Loading…
Reference in New Issue
Block a user