FD_CLR is crashing
Posted on 2006-05-28
In the following piece of code FD_CLR is crashing ?
Compiler : VC++ 6
OS : Win XP
The same piece of code is working in Linux.
Could u pls help me in resolving this.
FD_CLR(0,&rfds); // Crashed, Reason : Unhandled Exception, Illegal Istruction.
retVal = select(0, NULL, NULL, NULL, &tv);
if (-1 == retVal)
Thanks for ur valuable time in helping me in this.