Palm OS Connections

Palm OS connections conform to the general sockets model, with one limitation. Only four sockets are available for all processes running on the device. Given that the Palm OS is a single-tasking operating system, you won’t find a lot of external competition for those four sockets. If your application actions exhaust this socket pool, you are probably trying to do too many things at once.

Palm OS devices are meant to perform only one specific networking task at a time. This is in line with the Zen of Palm discussed in Chapter 3, but is a major paradigm shift for network developers used to dealing with an effectively infinite supply of sockets and tasks. The mantra of the Palm Network Programmer must be “Do One Thing and Do It Well!” Once you’ve decided what that one thing is, all that’s left is to implement it.

Get Palm OS Network Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.