On 2 January 2013 13:51, SMSLib Discussion Group on behalf of Balvant
<[email protected]> wrote:
> Thanks for the reply, following are the steps of the application.
>
> 1) Made use of CommPortIdentifier to identify the modems attached to
> different ports so as to get the parameters(viz. modelno, manufacturer, baud
> rate) of the modems.
> 2)Closed all the OutputStream, InputStream, SerialPort after extracting the
> info. from each modem.

I can't confirm this right now, but I think the locks are creeated by
CommPortIdentifier, and *should* be removed when the ports are closed
properly.  Does the time of the lock file creation/access match the
time identification happened?  Are there any exceptions thrown when
closing the streams or the SerialPort objects?

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to