• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            Prayer

            在一般中尋求卓越
            posts - 1256, comments - 190, trackbacks - 0, articles - 0
              C++博客 :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

            Address family not supported by protocol family.

            Posted on 2010-02-10 16:22 Prayer 閱讀(9238) 評論(0)  編輯 收藏 引用 所屬分類: SOCKET
            我的udp程序,運行時提示錯誤:  
              sendto   error   in   udptalk.c!  
              Address   family   not   supported   by   protocol   family.  
              我使用的協議socket(AF_INET,SOCK_DGRAM,0)  
              請教錯誤原因。  

            I   think   the   problem   is   the   third   parameter.   It   must   be   IPPROTO_UDP   which   is   defined   as   17   on   solaris.   0   is   defined   as   IPPROTO_IP   (dummy   for   IP).


            Hello,

            I use IPV4.

            I have found a workaround:

            Edit C:\Windows\System32\drivers\etc\hosts and add the line "127.0.0.1 localhost" .

            Regards,

            Stefan



            >-----BEGIN PGP SIGNED MESSAGE-----
            >Hash: SHA1

            >
            >Hi there,
            >
            >i see the following messages in a servers log (2.1.5 on debian
            >that is):
            >postfix/smtp[31937]: socket to some.remote.host[]: Address family not
            >supported by protocol (port 25)
            >
            >after that, a TLS session to some.remote.host is established and
            >the mail gets delivered. The remote host has one ipv6 and one v4
            >record so i guess the error comes from the v6 record since v6 isn't
            >available on the server. Its the first server where i've seen such
            >a message and it doesn't seem to "break" something, but it's annoying.
            >Any idea what causes this and how to disable the message?
            >
            >
            lookup for some.remote.host returns an AAAA record that is tried and
            yields the error above. disable IPv6 in your dns server.
            if using a remote dns server, install one on the postfix box.



            最終的解決方法
            增加
            sin.sin_family=AF_INET;
            精品久久久久久国产91| 999久久久无码国产精品| 国内精品伊人久久久久网站| 国产一区二区精品久久| 狠狠干狠狠久久| 久久久免费观成人影院| 久久这里有精品| 国产亚洲精品美女久久久| 日本久久久精品中文字幕| 久久久久亚洲精品天堂久久久久久| 国产精品欧美亚洲韩国日本久久| 人人狠狠综合88综合久久| 97久久国产综合精品女不卡 | 国产亚洲精午夜久久久久久| 免费一级欧美大片久久网| 无码日韩人妻精品久久蜜桃 | 色偷偷88888欧美精品久久久| 国产亚洲精久久久久久无码| 久久免费视频6| 国产精品国色综合久久| 亚洲精品成人久久久| 久久精品国产亚洲AV麻豆网站| 久久国产免费直播| 精品国产乱码久久久久久1区2区 | 国产精品免费久久| 色欲久久久天天天综合网精品| 久久精品18| 亚洲狠狠综合久久| AV无码久久久久不卡网站下载| 伊人久久大香线蕉综合5g| 国产成人精品久久一区二区三区av | 久久精品午夜一区二区福利| 久久久久亚洲AV成人网人人网站| 久久精品无码一区二区app| 亚洲综合精品香蕉久久网97| 久久丫精品国产亚洲av| 欧美一区二区三区久久综合| 国产亚洲精品久久久久秋霞| 久久成人国产精品免费软件| 一级A毛片免费观看久久精品| 欧美粉嫩小泬久久久久久久 |