> Seems that sending eventually is done in emimsg.c:emimsg_send
> which performs a conn_write which is doing "normal" socket
> (actually file descriptor) write AFAIK..
>

Yeah, I think that emimsg_send is just a static "class" to perform emi
operations on messages;

The smsc_emi.c imports that library for example to create emi messages, such
    emimsg = emimsg_create_op(51, trn, privdata->name);

The function smsc_emi.c:emi2_do_send
seems to get all the packed emi messages and then use the emimsg_send to
write on the socket but, after this,
it just close the operation, neither waiting it the other part has received
someting.
Actually I'm adding a wait_for_ack which result isn't tested, just to see if
works better.

J


Reply via email to