Actually web content is gzipped. browsers will decompress them on the fly. i have a program that will sniff out the data thro an interface. but since the web content is gzipped, i am getting only junk. i want to know a way to decompress that on the fly without using any external program. that is i need a code which i should be able to paste inside my code which will decompress the data ON-THE-FLY. i am working in C. i use sockets to grab data from an interface.