Thank you for replying. I hope someday i will be able to make use of what you just told me. But in order to finish my program i've decided to parse the entire message, and work with that. Save the decoding/encoding for later. Best regards.