On 12/29/06, Jaroslav Libák <[EMAIL PROTECTED]> wrote:
I have a fix for failure in testWriteAndAcceptMsg in OsSocketTest.cpp in 
sipxportlibtest.

Only small delay was needed after write and it passes.
I have a dual core 1.83Ghz intel core duo 2 processor which is maybe too fast 
and read is attempted too early before data arrives.
Patch is in attachment.
The reason of this fail, as I understand it, is that client socket is
not blocking.
I.e. it does not wait for incoming data. I've attached my colution of
the problem.
If it will help you, I'll commit it to media-update branch and create
ticket in tracker.


--
Regards,
Alexander Chemeris.

Attachment: socktestfix.patch
Description: Binary data

_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to