Platform: TCP: Add poll function to Socket

This commit is contained in:
Kyle Schwarz
2024-07-30 02:09:24 +00:00
parent 14588591e5
commit 4476bd8b71
2 changed files with 24 additions and 33 deletions
+1
View File
@@ -38,6 +38,7 @@ private:
~Socket();
explicit operator bool() const { return fd != -1; }
operator SocketFileDescriptor() const { return fd; }
void poll(uint16_t event, uint32_t msTimeout);
private:
SocketFileDescriptor fd;
};