• <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 閱讀(9193) 評論(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;
            999久久久国产精品| 久久人人爽人人人人片av| 国产伊人久久| 久久无码专区国产精品发布| 婷婷伊人久久大香线蕉AV| 国产91久久综合| 亚洲国产另类久久久精品| 成人a毛片久久免费播放| 久久精品中文字幕一区| 国产精品美女久久久网AV| 久久久久无码精品国产不卡| 久久综合视频网站| 色综合久久综合网观看| 久久婷婷五月综合色奶水99啪| 色综合久久天天综线观看| 狠狠色丁香久久综合婷婷| 亚洲国产精品成人久久| 国产精品久久久久蜜芽| 久久精品国产福利国产琪琪| 狠狠色婷婷综合天天久久丁香| 亚洲中文字幕无码久久2017| 亚洲国产精品无码久久九九| 亚洲一本综合久久| 热久久这里只有精品| 国产精品久久国产精麻豆99网站| 久久综合亚洲鲁鲁五月天| 亚洲国产精品综合久久一线| 久久久久亚洲精品无码网址 | .精品久久久麻豆国产精品 | 久久天天躁狠狠躁夜夜不卡 | 久久久www免费人成精品| 欧美激情精品久久久久久久九九九| 久久狠狠高潮亚洲精品| 亚洲色婷婷综合久久| 国内高清久久久久久| 亚洲人成网亚洲欧洲无码久久 | 久久AAAA片一区二区| 伊人久久综在合线亚洲2019| 精品永久久福利一区二区| 久久精品九九亚洲精品| 久久精品男人影院|