Got it all working just added 

                        int remaining = byteToRead;
                        // Loop untill all bytes are read
                        while ( remaining > 0 )
                        {
                                remaining -= in.read( myMessage, byteToRead - 
remaining, remaining );
                        }


________________________________
Taco Fleur - E-commerce Development Manager
Shelco Searches & Services
An Authorised ASIC Information Broker
www.shelco.com.au
Ph: + 61 7 3236 2605



---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to