1
Fork 0
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:
Andreas Kling 2019-02-17 09:40:52 +01:00
parent a0b55987d3
commit df2d46d5dc
3 changed files with 17 additions and 2 deletions

View file

@ -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: