Java.IO.IoException :MAX connections
Am trying to open several http connections to a server one after another . After opening and closing around 30 connections , my application throws the above error and refuses to make any further connections. Interestingly though, after switching my radio off for a few seconds and then turning it back on, Everything works fine again for another 30 connections. it seems whatever i do to kill the connections programatically( myconnection.close(), myconnection=null etc) simply fails.
please help |
Do you open any input/output streams from your connections? You need to call close() on these too otherwise I don't think the connection will be properly closed.
-- Ian |
All times are GMT -5. The time now is 02:11 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.