socket issues
This commit is contained in:
1 parent
45f0271c29
commit
cc6a502ff9
3 files changed
+137
-27
No files matched your search
@@ -36,6 +36,7 @@ namespace anm2ed
|
||||
private:
|
||||
socket_handle handle;
|
||||
SocketRole role{};
|
||||
int lastError{};
|
||||
|
||||
public:
|
||||
Socket();
|
||||
@@ -57,5 +58,6 @@ namespace anm2ed
|
||||
|
||||
void close();
|
||||
bool is_valid() const;
|
||||
int last_error() const;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user