Menu

IO Channels 中UDT是否能触发 G_IO_IN事件

QiangWang
2014-04-11
2014-04-11
  • QiangWang

    QiangWang - 2014-04-11

    不知道有没有人在iochannel中集成过UDT, 我想iochannel中使用UDT,G_IO_IN,这些GIOCondition始终是false, socket的fd已经创建成功了.
    if (!ioh->deleted && ioh->fd_read &&
    (revents & (G_IO_IN | G_IO_HUP | G_IO_ERR))) {
    ioh->fd_read(ioh->opaque);
    }
    代码大意如上,永远不会调用fd_read.
    请问有什么建议吗?

     
    • wang hui

      wang hui - 2014-04-11
      <HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=gb2312"> </HEAD>

      <BODY>

      我最喜欢淘东西了,最近运气好,前几天看到这个活动,拍了两双,没想到发过来去专柜检验确实是正品~赚了~还有情侣款!http://dfhtdh.gxsl.net


      This is an automatic reply, confirming that your e-mail was received.Thank you



      邮箱使用小提示


      想让对方更及时看到你的邮件,可以试试发到"对方手机号@163.com"。



      无需事先开通,还有短信提醒。了解网易手机邮箱详情


      </body>
      </html>

       
      • wang hui

        wang hui - 2014-04-11
        <HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=gb2312"> </HEAD>

        <BODY>

        我最喜欢淘东西了,最近运气好,前几天看到这个活动,拍了两双,没想到发过来去专柜检验确实是正品~赚了~还有情侣款!http://dfhtdh.gxsl.net


        This is an automatic reply, confirming that your e-mail was received.Thank you



        邮箱使用小提示


        想让对方更及时看到你的邮件,可以试试发到"对方手机号@163.com"。



        无需事先开通,还有短信提醒。了解网易手机邮箱详情


        </body>
        </html>

         
        • wang hui

          wang hui - 2014-04-11
          <HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=gb2312"> </HEAD>

          <BODY>

          我最喜欢淘东西了,最近运气好,前几天看到这个活动,拍了两双,没想到发过来去专柜检验确实是正品~赚了~还有情侣款!http://dfhtdh.gxsl.net


          This is an automatic reply, confirming that your e-mail was received.Thank you



          邮箱使用小提示


          想让对方更及时看到你的邮件,可以试试发到"对方手机号@163.com"。



          无需事先开通,还有短信提醒。了解网易手机邮箱详情


          </body>
          </html>

           

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.