• <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;
            久久亚洲国产成人精品性色| 亚洲欧洲精品成人久久奇米网| 三级三级久久三级久久| 亚洲国产日韩欧美综合久久| 怡红院日本一道日本久久 | 性高湖久久久久久久久AAAAA| 亚洲精品97久久中文字幕无码| 久久婷婷是五月综合色狠狠| 国产精品美女久久久久久2018| 人人狠狠综合久久亚洲| 亚洲成色WWW久久网站| 久久久久成人精品无码| 777午夜精品久久av蜜臀| 久久精品国产国产精品四凭 | 精品999久久久久久中文字幕| 亚洲七七久久精品中文国产| 久久99热只有频精品8| 亚洲国产成人久久综合碰| 日韩亚洲欧美久久久www综合网| 亚洲AV无码久久精品蜜桃| 久久久综合香蕉尹人综合网| 办公室久久精品| 国产激情久久久久影院小草 | 久久久久夜夜夜精品国产| 久久综合色区| 久久精品亚洲欧美日韩久久| 亚洲成人精品久久| 精品久久久久久无码人妻热 | 国产偷久久久精品专区 | 日韩久久久久久中文人妻 | 精品国产福利久久久| 久久精品国产亚洲AV高清热 | 一本色道久久88综合日韩精品 | 亚洲AV伊人久久青青草原| 久久93精品国产91久久综合| 2021国产成人精品久久| 青青草原综合久久| 久久亚洲国产中v天仙www| 91久久九九无码成人网站| 婷婷综合久久狠狠色99h| 91久久福利国产成人精品|