_get_osfhandle and _fdopen in wince6.0
Hi, Do we have any alternative functions for _get_osfhandle and _fdopen in wince6.0? Or, is it possible to implement these functions in wince6.0?
Below is my sample code:
====================================================================
HANDLE m_hCommHandle = CreateFile( ... );
struct timeval tv;
fd_set readfds;
int socket = _fdopen(m_hCommHandle);
tv.tv_sec = 2;
tv.tv_usec = 500000;
FD_ZERO(&readfds);
FD_SET(socket, &readfds);
select(socket + 1, &readfds, NULL, NULL, &tv);
====================================================================
How can I implement the above code for wince6.0?
Thanks in Advance