i was writing a small j2me app, making httpconnections to a real IP. initial tests were running good when I started getting ioexceptions complaining that ‘maximum number of connections have exceeded’. I realised i was not closing the httpconnection and the inputstreamreader. i altered my code to do that, cleaned the project and ran again after compiling. surprisingly i am still getting the same exception in j2me wireless toolkit.
what else do i have to do? i have cleaned everything, and am closing my httpconnections and inputstreamreaders. but now even on first attempt i get the exception…
any pointers anyone?