Implemented NetDll_shutdown.

De-borked LoadFdset/StoreFdset in regards to handling of correct counts
and invalid sockets.
This commit is contained in:
gibbed
2017-01-09 06:56:35 -06:00
parent f3ed9ab91b
commit 2e8c34377f
4 changed files with 44 additions and 15 deletions

View File

@@ -104,6 +104,7 @@ class XSocket : public XObject {
X_STATUS Bind(N_XSOCKADDR_IN* name, int name_len);
X_STATUS Listen(int backlog);
object_ref<XSocket> Accept(N_XSOCKADDR* name, int* name_len);
int Shutdown(int how);
int Recv(uint8_t* buf, uint32_t buf_len, uint32_t flags);
int Send(const uint8_t* buf, uint32_t buf_len, uint32_t flags);