Implemented NetDll_shutdown.
De-borked LoadFdset/StoreFdset in regards to handling of correct counts and invalid sockets.
This commit is contained in:
@@ -150,6 +150,8 @@ object_ref<XSocket> XSocket::Accept(N_XSOCKADDR* name, int* name_len) {
|
||||
return socket;
|
||||
}
|
||||
|
||||
int XSocket::Shutdown(int how) { return shutdown(native_handle_, how); }
|
||||
|
||||
int XSocket::Recv(uint8_t* buf, uint32_t buf_len, uint32_t flags) {
|
||||
return recv(native_handle_, reinterpret_cast<char*>(buf), buf_len, flags);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user