socket problem, select()

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

 



Hello, I have met a strange problem. Can some one told me about it?

When there is nothing to read, why the function pj_sock_select() in the file  pjlib/src/pj/sock_select.c
return 8, not the value 0.
actually, it is this line:

    return select(n, PART_FDSET_OR_NULL(readfds), PART_FDSET_OR_NULL(writefds),
          PART_FDSET_OR_NULL(exceptfds), p_os_timeout);

Can some one help me about it ?
Thank you very much!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100615/1b36093f/attachment.html>


[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