• <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++博客 :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

            Address family not supported by protocol family.

            Posted on 2010-02-10 16:22 Prayer 閱讀(9224) 評論(0)  編輯 收藏 引用 所屬分類: SOCKET
            我的udp程序,運行時提示錯誤:  
              sendto   error   in   udptalk.c!  
              Address   family   not   supported   by   protocol   family.  
              我使用的協(xié)議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;
            亚洲国产精品无码久久| 成人a毛片久久免费播放| 久久一区二区三区99| 日韩影院久久| 久久99精品久久久久久hb无码| 久久线看观看精品香蕉国产| 日韩十八禁一区二区久久| 国产成人精品综合久久久| 久久精品国产亚洲欧美| 亚洲欧美国产精品专区久久| 亚洲色大成网站WWW久久九九| 国产亚洲美女精品久久久久狼| 久久天天躁狠狠躁夜夜av浪潮| 久久亚洲精品成人av无码网站| 久久青青草原精品国产软件| 国产成年无码久久久久毛片| 亚洲国产婷婷香蕉久久久久久| 国产精品久久国产精麻豆99网站 | 久久综合九色综合网站| 99麻豆久久久国产精品免费| 少妇人妻综合久久中文字幕| 99久久精品免费看国产一区二区三区 | 久久水蜜桃亚洲av无码精品麻豆 | 国内精品久久国产大陆| 久久综合九色综合网站| 久久久久久亚洲精品无码| 国产精品女同久久久久电影院| 久久久久99这里有精品10| 狠狠精品干练久久久无码中文字幕| 久久天天躁狠狠躁夜夜躁2O2O| 亚洲精品tv久久久久| 久久精品成人一区二区三区| 亚洲一本综合久久| 亚洲伊人久久大香线蕉苏妲己| 2020久久精品国产免费| 亚洲香蕉网久久综合影视 | 久久亚洲2019中文字幕| 久久亚洲AV永久无码精品| 久久99精品久久久久久齐齐| 热re99久久精品国产99热| 国产欧美久久久精品|