Re: NetLibSelect NetErrNoInterfaces

2007-05-16 Thread Andy Bell
John Wilund wrote: Hi, According to: http://www.access-company.com/developers/documents/docs/palmos/PalmOSReference/NetLibrary.html#1086574 you shouldn't get the netErrNoInterfaces. The API call returns the sum total number of ready file descriptors in *readFDs, *writeFDs, and *exceptFDs. Re

re: NetLibSelect NetErrNoInterfaces

2007-05-16 Thread John Wilund
Hi, According to: http://www.access-company.com/developers/documents/docs/palmos/PalmOSReference/NetLibrary.html#1086574 you shouldn't get the netErrNoInterfaces. The API call returns the sum total number of ready file descriptors in *readFDs, *writeFDs, and *exceptFDs. Returns 0 upon timeout.

NetLibSelect NetErrNoInterfaces

2007-05-15 Thread Andy Bell
Hi, I am trying to write a server application and I keep getting the NetErrNoInterfaces when I use NetLibSelect. I am using the following code: netFDZero(&readFDs); netFDZero(&writeFDs); netFDZero(&exceptFDs); netFDSet(sysFileDescStdIn, &readFDs); netFDSet(g_alarmSocket, &readFDs); width = g_