Scott wrote:
> Foreign address is always 0.0.0.0:0 (I assume it displays 0.0.0.0 whenever
> it hasn't bounded itself.)
>
Correct.
> Proto Local Address Foreign Address State PID
> TCP bluey:2000 0.0.0.0:0 LISTENING 2568
> (I've even waited 10mins to make sure there wasn't a screwy DHCP client
> (which would really be bizarre since I'm running static now.)
There are two things belonging together here, this is only one piece of it.
Port 2000 is here most likely the Simulator of Emulator which is listening on
that port. The problem isn't the Sim-/Emulator, it's listening on the correct
port, but the debugger.
You should see the debugger (PalmOSDebuggerMI afaik) running on an unusual high
port number somewhere above 50000 or so. In your last email you had this one
TCP bluey:59847 192.168.0.254:5678 TIME_WAIT 0
That's the debugger listening on port 59847 and connected to the address of
your default gateway on port 5678, which is pretty much a bug in the PODS
debugger if it's not a Virus or whatever or firewall problem on your PC. It
would have been interesting if you had posted that also.
I did a quick search for hex 162e (=5678) and found some occurrences in the
palmoscore package (the port delegagtion class is also in there), which means
there is maybe this port address assigned... strange.
Here it should have been connected to localhost on port 2000, so the thing that
is listening desperately forever.
>
> HERE IS THE INTERESTING BIT:
>
> 1. I added the following at line 68 of your version of netstat.dpr:
> ini.WriteString('netstat','Processed','Confirmed');
> 2. I then put the newly compiled 'netstat.exe' into 'C:\Program
> Files\PalmSource\Palm OS Developer Suite\eclipse' where eclipse.exe is
> 3. I ran 'netstat.exe' and 'Processed=Confirmed' appeared in the .ini file
> 4. I removed that line.
> 5. I ran PODS, tried debugging, then checked netstat.ini and
> 'Processed=Confirmed' had NOT appeared.
I had a small bug in the project, but that was a different problem (only one
string was replaced). I have updated the zip file, same url.
I reproduced your problem with Sleep(15000) in the Delphi netstat project. This
means that PODS is killing the process afetr a timeout of 10 seconds or so,
thus the ini isn't written. Which brings me to quite another idea... !!!
In your previous email you had a connection on port 1166 and 1167 (voip?), but
the debugger was shown on the last line. Which means, netstat needs more than
10 seconds to get the values of the debugger...
Turn these (phone?) services off temprarily and see if it works. I have no idea
for a real workaround if that's the problem. It's time for a real update from
Palm ;-)
Regards
Benjamin
>
> It seems to me that PODS is not even getting to the stage of running
> netstat!!!
>
> Thanks heaps!
> Scott
>
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/