Most servers supply 'Content-length:' or 'Content-Length:' attribute for resources, especially for non-textual items. This is more reliable than detecting closing socket. If this is not given then it might be a good idea to limit the size of data to be read.
it should allow request by specifying server only eg, http://www.jsoftware.com -- regards, bill ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
