Yep, several ways...
one way is Phil Newtons Blitz ZipAPI libray, found here:
http://www.sodaware.net/dev/blitz/libs/blitz.zipapi/
That's a complete implementation, however if you need just the compress/decompress routines you can use simpler functions, and zlib is very fast for smaller chunks of data... (I can provide if you need)
Another trick to use for sending simple variables (if you send a lot of boolean variables) is to pack them into one byte as 8 bitflags.
one way is Phil Newtons Blitz ZipAPI libray, found here:
http://www.sodaware.net/dev/blitz/libs/blitz.zipapi/
That's a complete implementation, however if you need just the compress/decompress routines you can use simpler functions, and zlib is very fast for smaller chunks of data... (I can provide if you need)
Another trick to use for sending simple variables (if you send a lot of boolean variables) is to pack them into one byte as 8 bitflags.