I am working on a simple chat client in flex with the help of openfire. To make connection i am using socket and with the help of handlers it gives me connection success , error, close , etc results.
My problem is after conncetion succes if i am not using the connection (means not sending any query or anything else ) it automatically fires connection close handler(after 3 minute). As i have not used any time out or anything like this why it fires i can’t understand.
Please help me .