Sockets implementation for Windows, WebSockets client now working.

This commit is contained in:
Ben Vanik
2013-12-16 22:43:03 -08:00
parent d548e7f770
commit b5f5668f6d
8 changed files with 216 additions and 19 deletions

View File

@@ -14,7 +14,7 @@
#include <xenia/core.h>
typedef int socket_t;
typedef intptr_t socket_t;
#define XE_INVALID_SOCKET -1
@@ -29,6 +29,7 @@ void xe_socket_set_nodelay(socket_t socket, bool value);
void xe_socket_set_nonblock(socket_t socket, bool value);
int xe_socket_bind(socket_t socket, uint32_t port);
int xe_socket_bind_loopback(socket_t socket);
int xe_socket_listen(socket_t socket);
typedef struct {