Um this prob seems to be an issue with the java api ....
Change this code Taco
String str;
while ( (str = in.readLine()) != null ){
returnContent = returnContent + str;
}
to this ....
StringBuffer outbuf = new StringBuffer();
int c = 0;
while ((c = in.read()) != -1) {
outbuf.append((char) c);
}
returnContent = outbuf.toString();
I think that will stop the tag hanging while reading from the socket. I
think I should of used the java.nio api from the start with a
SocketChannel as the old java io api have a few issues it seems, ah well
you live and learn.
hth
Rod
---
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/