mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
sock: MSG_PEEK and other fixes
This commit is contained in:
@@ -28,6 +28,7 @@ typedef struct {
|
||||
};
|
||||
} sockaddr_t;
|
||||
|
||||
#define SOCKET_RECV_FLAGS_PEEK 0x8000000000000000l
|
||||
typedef struct socketops_t {
|
||||
int (*bind)(socket_t *socket, sockaddr_t *addr);
|
||||
int (*send)(socket_t *socket, sockaddr_t *addr, void *buffer, size_t count, uintmax_t flags, size_t *sendcount);
|
||||
|
||||
Reference in New Issue
Block a user