diff options
Diffstat (limited to 'Kernel/Socket.h')
-rw-r--r-- | Kernel/Socket.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/Socket.h b/Kernel/Socket.h index d5e91cfb52..2afd6a53f2 100644 --- a/Kernel/Socket.h +++ b/Kernel/Socket.h @@ -23,7 +23,9 @@ public: bool listen(int backlog, int& error); virtual bool bind(const sockaddr*, socklen_t, int& error) = 0; + virtual RetainPtr<Socket> connect(const sockaddr*, socklen_t, int& error) = 0; virtual bool get_address(sockaddr*, socklen_t*) = 0; + virtual bool is_local() const { return false; } protected: Socket(int domain, int type, int protocol); |