net/SocketDescriptor: add AcceptNonBlock() overload without address

This commit is contained in:
Max Kellermann
2017-08-11 09:02:10 +02:00
parent b234f4307f
commit 614b3634d4
3 changed files with 22 additions and 0 deletions

View File

@@ -173,6 +173,7 @@ public:
bool Listen(int backlog);
SocketDescriptor Accept();
SocketDescriptor AcceptNonBlock() const;
SocketDescriptor AcceptNonBlock(StaticSocketAddress &address) const;
bool Connect(SocketAddress address);