Socket Notices were added to NetLib in 2000, but not all branches of PalmOS included that particular strain of NetLib. You can check for socket notices by attempting to prime a socket for a socket notification. If it complains, then it's not available. It appears that only netSocketNoticeNotify is supported on OS5, so expect to use only the notifications.
I suspect you'll find it in all versions of OS5, and some versions since OS3. I haven't looked at what OS6 offers. It is straight forward and has been robust. Unless there have been nasties introduced by the ARM port, netSocketNoticeNotify should work as advertised. It's been working reliably for me on both a Treo 600 and Tungsten-C. -------------------- Jeff Loucks Work 425-284-1128 [EMAIL PROTECTED] Mobile 253-691-8812 [EMAIL PROTECTED] Home 253-851-8908 [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 11:33 AM To: Palm Developer Forum Subject: RE: Net Socket Notification Jeffry Loucks writes: > I see they've announced socket notices (netSocketNoticeNotify) as a new > feature of OS5.2! Interesting, since it's been part of the OS since May of > 2000! > > Socket Notices allow for asynchronous sockets. You open a non-blocking > socket, and then set the notice to fire on a certain set of conditions > (connection, data available, error, closure, etc.). When the conditions are > met, the notification you specify is broadcast (deferred). When was this first supported? The header file says the constants were added in 2000. The sample code says "5.2.x and higher". The Knowledge Base article says 5.4. If it is present in 5.0 or 5.2, is it supported on all devices? Does it work well, or is it buggy? Is there a good way to tell whether a particular device supports this? I don't see a feature to check for. Does NetLibSocketOptionSet() always return failure if this capability isn't present? -- Greg Parker [EMAIL PROTECTED] pssh: SSH 2 for Palm OS 5 http://www.sealiesoftware.com/pssh/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
