LibC: Add and cleanup some networking structures and definitions

This commit is contained in:
2024-08-22 14:30:00 +03:00
parent 45b4b33a3d
commit 1cbba113fd
3 changed files with 10 additions and 4 deletions

View File

@@ -67,10 +67,10 @@ struct linger
int l_linger; /* Linger time, in seconds. */
};
#define SOCK_DGRAM 0
#define SOCK_RAW 1
#define SOCK_SEQPACKET 2
#define SOCK_STREAM 3
#define SOCK_DGRAM 1
#define SOCK_RAW 2
#define SOCK_SEQPACKET 3
#define SOCK_STREAM 4
#define SOL_SOCKET 1