Pedro Duque wrote:
> 
> I found no way to do it besides editing the code.
> If you remove (or comment) and add the following lines in smsc_smpp.c,
> it should work:
> 
>     conn->status = SMSCCONN_CONNECTING;
>     smpp->transmitter = gwthread_create(io_thread, io_arg_create(smpp,
> 1));
> (-)    smpp->receiver = gwthread_create(io_thread, io_arg_create(smpp,
> 0));
> 
> (-)    if (smpp->transmitter == -1 || smpp->receiver == -1) {
> (+)    if (smpp->transmitter == -1) {
>         error(0, "SMPP: Couldn't start I/O threads.");
>         smpp->quitting = 1;
>         if (smpp->transmitter != -1) {
>             gwthread_wakeup(smpp->transmitter);
>             gwthread_join(smpp->transmitter);
>         }
> (-)        if (smpp->receiver != -1) {
> (-)            gwthread_wakeup(smpp->receiver);
> (-)            gwthread_join(smpp->receiver);
> (-)        }
>         smpp_destroy(conn->data);
>         return -1;
>     }

so what does the code actualy do then?

I'm wondering if we could add this as a configuration feature to the
smsc_smpp.c module?!

Stipe

[EMAIL PROTECTED]
-------------------------------------------------------------------
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are

Reply via email to