I'm creating a basic chat client using XMPPHP. The other chat client for now is Spark (only for test purposes). I don't understand why does the connect() functioon in XMLStream.php have a timeout of only 30 secs.
1) Is it customizable ?
2) What if I wish to maintain a persistent connection without timing out i.e. without getting idle or disconnected ?