mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
Implementation of socket:peek
This commit is contained in:
parent
cbda27cd17
commit
9dacf7038f
6 changed files with 72 additions and 7 deletions
|
|
@ -79,6 +79,7 @@ namespace network {
|
|||
class ReadableConnection : public Connection {
|
||||
public:
|
||||
virtual int recv(char* buffer, size_t length) = 0;
|
||||
virtual int peek(char* buffer, size_t length) = 0;
|
||||
virtual int available() = 0;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue