Keep network connection alive in the background

2008-06-25 Thread Tam Hanna
Hello, I once again have a problem for all of you to look at. I am currently developing a network application that keeps itself connected to a TCP socket for a longer period of time(without sending or receiving data). On my Palm TX(connected to a BT router), the app has no issues and stays

Stack getting thrashed?

2008-06-25 Thread Ryan Rix
Hello all, I am writing an application which recursively searches the VFS and indexes them to an internal DB. While it is doing this the T|X Simulator, it inexplicably crashes. A debug run through it reveals that my entire stack inexplicably disappears between StrCopy(

AW: Stack getting thrashed?

2008-06-25 Thread Harald Schlangmann
Some points on the code: In your code, StrCopy copies name to record.name. I think the arguments should be exchanged? Char *StrCopy (Char *dst, const Char *src) Furthermore you should check that name space is large enough for the string in record.name. In case record.name is corrupted

Unable to get Label of Phone Number

2008-06-25 Thread Arun
Hi everyone, I have written a sample program in which I am retrieving Phone numbers from the Address DB. But the problem lays in identifying them which one is fax, home, office . Thnx in advance Arun Kumar. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please

Re: Keep network connection alive in the background

2008-06-25 Thread P. Douglas Reeder
If you can configure the server to send bits of info at regular intervals (like the IDLE message from an IMAP server), that ought to do it. On Jun 25, 2008, at 2:07 AM, Tam Hanna wrote: I am currently developing a network application that keeps itself connected to a TCP socket for a

Re: Keep network connection alive in the background

2008-06-25 Thread JamesSturdevant
If you are writing this for others, keep in mind that many people do not have unlimited data plans and keeping the connection open will cost them real money. It might be beneficial to design the process to behave more like a UDP connection than a TCP connection. JamesS Tam Hanna wrote:

Connection with the mobile network

2008-06-25 Thread Tiago
Hello experts! Any person know how to make a gprs connection? Where I can to search a good reference for this? -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Re: Unable to get Label of Phone Number

2008-06-25 Thread Michal Seliga
Arun wrote: Hi everyone, I have written a sample program in which I am retrieving Phone numbers from the Address DB. But the problem lays in identifying them which one is fax, home, office . Thnx in advance Arun Kumar. download pim sdk from pdn.palm.com, there you will have headers

Re: Connection with the mobile network

2008-06-25 Thread Michal Seliga
but go to prefs application on your palm and take a look to network preferences. and if you have device which doesn't have phone integrated then also connection settings to make it work with some phone or pc if you have everything properly configured then all network applications will work

Re: AW: Stack getting thrashed?

2008-06-25 Thread Ryan Rix
Hi Harald, That call is correct; I'm trying to write to record.name. My stack has a strange anomoly I haven't seen before, I noticed last night: __Startup__ PilotMain 0xFFF0 (68k) -- That should be 'go()' (the function name), not some hex like that, right? mainFormEventHandler rebuildDB

Re: AW: Stack getting thrashed?

2008-06-25 Thread Ryan Rix
Hi, Just ran it by a few folks with real devices; While it doesn't create a reset or crash, the call to VFSDirEntryEnumerate that causes the simulator to crash will return 0x0502 or sysErrParamErr (The dirEntryIteratorP is not valid.) on a physical device (t650 and T|T3 in this case) I can

Re: AW: Stack getting thrashed?

2008-06-25 Thread Ryan Rix
Hi, Thanks to Dmitry and a lack of a vfsIteratorStop check, I've found where the error is coming from. Why my stack disappeared due to this is beyond me, but it's there now. Thanks for the help, Harald, Dmitry :) ~Ryan Ryan Rix wrote: Hi, Just ran it by a few folks with real devices; While