mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
update Socket.send, recv
This commit is contained in:
parent
dc84fe1f07
commit
40ba7705b2
2 changed files with 6 additions and 6 deletions
|
|
@ -26,8 +26,8 @@ namespace network {
|
|||
|
||||
class Socket {
|
||||
public:
|
||||
virtual int recv(void* buffer, size_t length, bool blocking) = 0;
|
||||
virtual int send(const void* buffer, size_t length) = 0;
|
||||
virtual int recv(char* buffer, size_t length, bool blocking) = 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