Sep 26, 2010

Strange Socket Streaming problem

Today I've found out that, on an old computer with an old Ethernet card (only 3 years old), the card cannot handle big data.

But there is no problem if we use the native function Write(byte[],int,int); to write data.

There will be a problem if we use Write(byte) to write every single byte manually.

The byte[] is of size 200, and that already causes problem.

The ethernet card will crash.

Sep 19, 2010

Window Mobile sometimes get out off Unattended mode by itself.

Today we have found one of the PDAs decided to switch to the normal mode from the unattended mode.

Right now we are going to solve this problem by constantly putting the PDA in the unattended mode.

In combination, we will turn the WiFi on programmatically before making any connection, and we will put the PDA in the unattended mode if the power button is pressed.

And while the screen is off, we will, every 60 seconds, confirm the unattended mode.