mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
Kernel: Make Socket inherit from File.
This commit is contained in:
parent
03da7046bd
commit
2470fdcd9b
Notes:
sideshowbarker
2024-07-19 14:18:05 +09:00
Author: https://github.com/awesomekling
Commit: 2470fdcd9b
18 changed files with 81 additions and 73 deletions
|
@ -14,6 +14,7 @@ public:
|
|||
|
||||
private:
|
||||
explicit UDPSocket(int protocol);
|
||||
virtual const char* class_name() const override { return "UDPSocket"; }
|
||||
|
||||
virtual int protocol_receive(const ByteBuffer&, void* buffer, size_t buffer_size, int flags, sockaddr* addr, socklen_t* addr_length) override;
|
||||
virtual int protocol_send(const void*, int) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue