add sockaddr_in and fdset

This commit is contained in:
David Rose 2008-06-25 23:03:40 +00:00
parent 18542336a2
commit 25ca934a9e
2 changed files with 9 additions and 1 deletions

View File

@ -14,5 +14,5 @@
intfloat_readwrite.h mathematics.h rational.h rtp.h \
rtsp.h rtspcodes.h setjmp.h winsock2.h \
ode/ode.h collision_trimesh.h \
netinet/tcp.h netinet/ip.h \
netinet/tcp.h netinet/ip.h sys/socket.h \
rfftw.h libtar.h malloc.h ucontext.h ctype.h

8
dtool/src/parser-inc/socket.h Executable file
View File

@ -0,0 +1,8 @@
struct sockaddr_in
{
};
typedef struct fd_set {
unsigned int fd_count; /* how many are SET? */
SOCKET fd_array[10]; /* an array of SOCKETs */
} fd_set;