On Monday, 3 March 2008 21:36:08 UTC+7, Thanasis wrote:
>
> Hi,
>
> you are not shutting down the Service class, that's why your port is
> in use in every next call - its already open by the previous run.
>
> Do not start and stop the Service class - start it once and call its
> methods as you feel appropriate.
>
>
> On Mon, Mar 3, 2008 at 3:19 PM, waywardsoul <[email protected]<javascript:>> 
> wrote:
> >
> >  Hi, all
> >  Am trying to send several messages continously in a loop.
> >  This am doing in a separate thread that sleeps for 5 secs before
> >  creating another object that sends the next message.
> >  the first message goes okay and the sender object is destroyed. When
> >  another object is created and tries to send the message, I get an
> >  error "com port is currently in use". Any ideas?
> >  >
> >
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/smslib/e098970d-877e-4a62-8980-1a1e41c0e42e%40googlegroups.com.

Reply via email to