open/readstream.
BlitzMax Forums/BlitzMax Programming/open/readstream.
| ||
Whats the time out on it. I have a set of routines that open pages and parse the html, but some of my pages hang the application, its like the openstream gets hung as it , I assume waits for a response from the server. can we set a time out on it, or anyone know what the time out is ? how long with an open stream sit before it gives up and the code continues ? |
| ||
Can you post the certain part of the source? May be you try to read the file and the part parsing it hangs? In my tests i got a 0byte-file when a timeout occoured (within 1-2 seconds). May be it depends on the server... if it seems to response it durates longer than if the ip/uri is dead/blocking the port/hostip. bye MB |