Uncompress on linux a UDP Payload compressed on win$ using closed source library

Thread Tools Search this Thread
Top Forums Programming Uncompress on linux a UDP Payload compressed on win$ using closed source library
# 1  
Old 05-24-2008
Uncompress on linux a UDP Payload compressed on win$ using closed source library

I am trying to uncompress a UDP packets payload. The data was compressed using "Xceed Version 4.3" which is a closed source windows program. I need to uncompress the data on a linux box. The technical support people at Xceed tell me that the data was compressed using "the Deflate compression method and formatted using the ZLib format, which is a small header at the start of the data. " You can read the details of their reply at Xceed Community - Does Xceed use industry standard compression algorithms ?

An example of the compressed data is:

The complete capture of the UDP packets is at:

I have tried running:
# g++ zpipe.c -lz [zpipe.c is at http://www.zlib.net/zpipe.c ]
# ./a.out -d < compressedpacket.1.txt > uncompressedpacket.1.txt
zpipe: invalid or incomplete deflate data

I am wondering how should I go about debugging the problem.

Any help and access to your time would be very much appreciated,

Best Wishes,
SysadminDebt consolidation community: 113,000+ people already helped for free
Internet's first get out of debt community
800 601 1579 x 8003
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Compressed Filesystem for Linux

Hi Everybody: I'm searching a compressed Filesystem for a external disk, what I use for a full, diary and differential Backup. The performance is not important, I search the best option for compress data, but I want have access to structure disk, with directories and files in the Backup disk.... (6 Replies)
Discussion started by: bypper
6 Replies

2. HP-UX

[Solved] how to compress and uncompress the files beween HP UX and Linux OS

I have file with large size in HP-UX os. I need to compress on HP-UX and ftp to linux server and i need to uncompress the files. How can i do this? Any help is highly appreciated.. (3 Replies)
Discussion started by: govindts
3 Replies

3. Shell Programming and Scripting

Is there any way to find the compressed size of a file without compressing it in linux

i need to backup a directory from one partition to another and and compress that directory after backing up, so i need to predict the compressed size of the directory with out actually compressing it, to check whether the space is available in the destination partition to accommodate the zipped... (2 Replies)
Discussion started by: Kesavan
2 Replies

4. Programming

UDP linux client and Windows server

Hi, I have a situation where i need to communicate a linux client with a windows server, I am using a UDP socket communication channel. I am able to send packets from my linux clients to the windows server but unable to receive any data packet from the server. Do i need to make any setting in... (0 Replies)
Discussion started by: John20
0 Replies

5. Programming

help me about sending file through socket udp with c in linux

hi, i am newbie of socket. i want to ask some question. if i want to send file from client to server, how do i do? and if i want to send file from server to client, how do i do? any pro help me and if possible, you can post code for an example i need it very much thank you for helping me:)... (1 Reply)
Discussion started by: tung1984
1 Replies

6. Windows & DOS: Issues & Discussions

closed-source application & CygWin

Is it possible to install closed-source applications on CygWin? (7 Replies)
Discussion started by: Xterra
7 Replies

7. IP Networking

snmp linux win

I use snmp protocol on linux, now I have to use snmp on win, i use pc linux. I have activated the service snmp on win but I can not question him on my linux pc, you have any suggestions? (1 Reply)
Discussion started by: fege
1 Replies

8. UNIX for Dummies Questions & Answers

win and linux

Hello everyone I have two disks one with win2000 and the other Im going to install mandrake10 . There is some way when Im finished to install mandrake when Im boot the machine I can make a selection or windows or linux. When I do this in a single disk I have no problem. but In this case... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

9. IP Networking

linux and win nt working together

I was wondering if anybody knew how to make linux and win nt and a novell server integrated there will be no workstations we are trying to get the servers together now we are currently working on Novel and NT and then we want to integrate the linux server into that. We know that we need Samba but... (3 Replies)
Discussion started by: linuxnewbie
3 Replies
Login or Register to Ask a Question