mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
update Socket interface
This commit is contained in:
parent
ee0b745769
commit
4aacd130ab
3 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue