mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibCore: Expose TCPSocket file descriptor
This commit is contained in:
parent
b6ec31b590
commit
d6e9d2cdbb
|
|
@ -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…
Reference in New Issue
Block a user