event/ServerSocket: add AddFD() overload with AllocatedSocketAddress&&
This commit is contained in:
@@ -108,6 +108,9 @@ public:
|
||||
*/
|
||||
void AddFD(UniqueSocketDescriptor fd);
|
||||
|
||||
void AddFD(UniqueSocketDescriptor fd,
|
||||
AllocatedSocketAddress &&address) noexcept;
|
||||
|
||||
bool IsEmpty() const noexcept {
|
||||
return sockets.empty();
|
||||
}
|
||||
|
Reference in New Issue
Block a user