mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-01 15:18:06 +00:00
LibCore: Expose TCPSocket
file descriptor
This commit is contained in:
parent
b6ec31b590
commit
d6e9d2cdbb
Notes:
github-actions[bot]
2025-02-17 18:53:56 +00:00
Author: https://github.com/devgianlu
Commit: d6e9d2cdbb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3571
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/alimpfard ✅
1 changed files with 2 additions and 0 deletions
|
@ -195,6 +195,8 @@ public:
|
|||
ErrorOr<void> set_blocking(bool enabled) override { return m_helper.set_blocking(enabled); }
|
||||
ErrorOr<void> set_close_on_exec(bool enabled) override { return m_helper.set_close_on_exec(enabled); }
|
||||
|
||||
int fd() const { return m_helper.fd(); }
|
||||
|
||||
virtual ~TCPSocket() override { close(); }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue