Original Post
I am using the select function and I am selecting between a fd_set that contains my socket and a time interval.
FD_SET(udpsock, &mySet);
select(1, &mySet , NULL, NULL, &time);
and when the time is up I want to run some set of code, and when the udpSock is writen to I want to run some other set of code.
I know for the udp sock it is
if(FD_ISSET(udpSock, &mySet))
{
//code for udpSock
}
but I do not know what to do for when the time is up.
Thanks for all help
Joe Madden