mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:27:35 +00:00
Kernel: Add SocketRole::Listener and report the role nicely in /proc/PID/fds.
This commit is contained in:
parent
a0b55987d3
commit
df2d46d5dc
3 changed files with 17 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
#include <AK/Vector.h>
|
||||
#include <Kernel/UnixTypes.h>
|
||||
|
||||
enum class SocketRole { None, Accepted, Connected };
|
||||
enum class SocketRole { None, Listener, Accepted, Connected };
|
||||
|
||||
class Socket : public Retainable<Socket> {
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue