I have a C server and flex client. Server sends data to client depending upon the commands sent by the client. For example, if the commad is 1 the server would read a file and send the content to the file, if the command is 2 then it would read another file and send the contents to the server, every file is marked by character 'EOF' to indicate the end of the data. I observed that the client is not getting all the data every time. It some times getting data fully and some times not - this happens when the data is big about huge. I tried checking for the EOF by reading byte by byte it is becoming impracticle as this takes processing time. Can someone give me some solution/code snippet in flex that would solve my problem?
July 3, 2010 1:18 PM
July 6, 2010 12:01 AM