udp - async send code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi benny,

I have implemented a simple async send for the udp case.
it send the buffer with async request. if new request comes in, it ignore
it.
I checked the code and it working.
what should we do about the RunL status? can we report it some where?
the added class is CSocketSender.
the changes in the code are:
1. adding pointer to this class in pj_ioqueue_key_t
2. init and destory of the CSocketSender in
pj_ioqueue_register_sock/pj_ioqueue_unregister
3. send throw the newclass in pj_ioqueue_sendto.

whould u merge the code into the pjlib?

thanks,
nir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091218/bab7a632/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ioqueue_symbian.cpp
Type: application/octet-stream
Size: 22424 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091218/bab7a632/attachment-0001.cpp>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux