(I apologize if you've seen this multiple times, but posting
via egroups didn't show up in an hour and a half so I suspect
that something is broken there)

I've got a network application that I want to port to the Palm V with
the new minstrel modem. One core piece of it involves sending and
receiving UDP packets periodically (say, every 15 seconds or so),
even when it's not the active application. In other words, I'd like
it to be able to

  a) receive network events,
  b) possibly respond to them (display a dialog, post an event), and
  c) periodically send some packets

whether or not it's active.

I think I can use AlmSetProcAlarm() for the periodically sending,
but will there be any problems trying to use NetLib when called in
that context?

For receiving of network data, is there a mechanism that will
notify my app when something comes in?  Since the Minstrel
connects via the Palm's serial port, can I use the
SrmSetWakeupHandler() call to wake me up when a packet comes in
via the modem? If so, would this interfere with NetLib? And,
is it even possible to use NetLib when called in this context?

Or am I completely looking in the wrong direction?

Thanks in advance!

 -w

--
May the forces of evil become confused on the way to your house.


Reply via email to