I'm getting a very frustrating bug with NetLib and CodeWarrior 9.2. Rather
than trouble you with my own source code, I found that you can get the exact
same NetLib symptom with Palm's NetLib sample code (HelloNetLib):
 
1. It works perfectly on the Treo 600 simulator, successfully sending the
"Hello NetLib" string to the server.
 
2. On the actual Device (Treo 600 or Treo 300), it returns no errors, but
does not actually send the string ("Hello NetLib") to the server. 
 
This is compiled using CodeWarrior 9.2 and being run on the Treo 600
simulator and on an actual Sprint Treo 600 as well as a Sprint Treo 300. Any
hints as to what could be causing it/what should be done to work around it?
 
Another hint, if this helps: If you use Handspring's HTTP lib test (HTTPTest
- available from PalmOne's developer web site), it does work. The source
code appears to use identical methods for TCP access via NetLib, yet
successfully sends and receives strings. Unfortunately, it's only available
for the Treo 600 so will not work on any other device.
 
If you want to try this yourself, get Palm's sample code for NetLib using
TCP (HelloNetLib) from:
http://kb.palmsource.com/cgi-bin/palmsource.cfg/php/enduser/std_adp.php?p_fa
qid=418&p_created=1045768717
 
I'm suspecting a CodeWarrior 9.2 compiler problem so if anybody is using
prc-tools and could test HelloNetLib with any Treo device, I'd much
appreciate it.

-- Kevin




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to