Hi,

Are you using the latest version? I think that this is solved - I will
have to check again.

On May 28, 11:21 am, Jeno <[email protected]> wrote:
> hi
>
> I am developing a desktop application based on SMSlib. Its my college
> project. It is in basic stage.
>
> How to free the com port after Sms.?
>
> I have to buttons.  One for Connect and other for disconnect.
>
> When the connect Button is pushed it send the parameter and Service
> get started.  Its working fine.
>
> When the "Disconnect" button is pushed, it call "srv.stopSerive();".
> But when i try to connect other port or same port, the system gives
> the following message.
>
> "org.smslib.GatewayException: Comm library exception:
> java.lang.RuntimeException: javax.comm.PortInUseException: Port
> currently owned by org.smslib"
>
> My question is how to free the port when disconnect button is
> pressed.
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib User 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 this group at 
http://groups.google.com/group/SMSLib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to