Subject: how to insert my application into network layer of palmos? From: Michal Seliga <[EMAIL PROTECTED]> Date: Thu, 15 Jan 2004 13:59:42 +0100
My problem is like this:
application uses tcp/ip to synchronize quite large amount of data and I can do nothing about how it is done.
I need to make some system hack to check for tcp/ip functions and if tcp/ip connection to certain server/port is opened then it will transparently compress/decompress all data. I need it to be 'invisible', so application will work without knowing that something changed.
I believe it must be possible to make something like it, but I don't know even where should I start...
First, it may not be worthwhile. That depends on the block size being sent, as the overheads may swamp the benefit if small blocks are being sent. But you can put a TCP sniffer on the connection and establish that.
If you are a on a pre-OS5 system you can hack the network library calls, but you probably have to hack most of them! On OS5 systems, you probably can't even do that!
You are taking on a very, very substantial task here. I suggest you get hard to get access to the source code of the application and put the compression algorithm where it belongs.
Roger Stringer Marietta Systems, Inc. (www.mariettasystems.com)
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
