historical/toontown-classic.git/panda/include/parser-inc/sys/socket.h

19 lines
343 B
C
Raw Normal View History

2024-01-16 17:20:27 +00:00
#pragma once
typedef int socklen_t;
typedef unsigned short int sa_family_t;
struct sockaddr {
sa_family_t sa_family;
char sa_data[];
};
struct sockaddr_storage {
sa_family_t ss_family;
};
typedef struct fd_set {
unsigned int fd_count; /* how many are SET? */
int fd_array[10]; /* an array of SOCKETs */
} fd_set;