diff options
Diffstat (limited to 'Libraries/LibCore/CSocket.h')
-rw-r--r-- | Libraries/LibCore/CSocket.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Libraries/LibCore/CSocket.h b/Libraries/LibCore/CSocket.h index 587f80f290..8521bb02f9 100644 --- a/Libraries/LibCore/CSocket.h +++ b/Libraries/LibCore/CSocket.h @@ -10,12 +10,14 @@ public: enum class Type { Invalid, TCP, - UDP + UDP, + Local, }; virtual ~CSocket() override; bool connect(const String& hostname, int port); bool connect(const CSocketAddress&, int port); + bool connect(const CSocketAddress&); ByteBuffer receive(int max_size); bool send(const ByteBuffer&); |