update Socket interface

This commit is contained in:
MihailRis
2024-11-15 07:09:55 +03:00
parent ee0b745769
commit 4aacd130ab
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ namespace network {
class Socket {
public:
virtual int recv(char* buffer, size_t length, bool blocking) = 0;
virtual int recv(char* buffer, size_t length) = 0;
virtual int send(const char* buffer, size_t length) = 0;
virtual void close() = 0;
virtual bool isOpen() const = 0;