socket: handle control data, change recv and send arguments

This commit is contained in:
Matheus
2024-09-01 13:20:12 -03:00
parent fe1102224e
commit 997fbc4e2e
7 changed files with 170 additions and 37 deletions
+1
View File
@@ -88,6 +88,7 @@ typedef struct {
#define SOCK_DGRAM 2
#define SOCK_RAW 3
#define MSG_CTRUNC 0x8
#define MSG_PEEK 2
#define MSG_WAITALL 0x100
#define MSG_NOSIGNAL 0x4000