It is not uncommon to see packets with garbage on the end due to buffer issues. That isn't the real issue though. Anytime you get data from anywhere you need to treat it without assumptions. The format you send should have some encoding to describe a size, or deliniate an end. You use that as a working guide to try and read to, and handle underruns or overruns as they occur. Just reading until the socket is exhausted as your only guide to length is a good way to get slapped by someone.

        73,
                Shawn

Nanja Raje Urs wrote:

Hi All
    I'm in the process of Encrypting the data in Windows using DES CFB mode
and decrypting the same in Linux. Here the data is transmitted and received
in Multicast environment.
My problem is If i transmit the encrypted data from Windows to windows, it
encrypts and decrypts properly, but if I transmit the data from windows to
linux, There is some junk values getting added after decryption. Here I'm
using DES CFB mode.
can anyone resolve my issue.

Urs





Reply via email to