Hi,
I wanted to know that if its right or wrong I've done.
My code uses fd_set which is defined in winsock2.h:
typedef struct fd_set {
u_int fd_count; /* how many are SET? */
SOCKET fd_array[FD_SETSIZE]; /* an array of SOCKETs */
} fd_set;
What should be the equivalent header in Android ndk that defines the fd_set.
I found that in C:\Android\android-ndk-r5b\platforms\android-9\arch-arm\usr\include\sys\select.h it is typedef as: typedef __kernel_fd_set fd_set;
so i've included it (select.h) as the header file for the code. [previously it was giving undefined reference to fd_set]
So was it wrong?
--

HimHim