• <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 閱讀(9194) 評論(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;
            久久精品亚洲精品国产欧美| 久久精品亚洲AV久久久无码| 国产视频久久| 色综合久久夜色精品国产| 精品久久久久久无码专区| 久久er热视频在这里精品| 综合久久给合久久狠狠狠97色| 精品久久久久久久久午夜福利| 伊人久久大香线蕉影院95| 久久久久高潮综合影院| 久久www免费人成看国产片| 中文字幕乱码人妻无码久久| 9999国产精品欧美久久久久久| 热99RE久久精品这里都是精品免费 | 久久国产精品免费一区二区三区 | 无码人妻精品一区二区三区久久 | 久久久久亚洲精品无码网址| 国产午夜福利精品久久2021| 人妻无码精品久久亚瑟影视| 亚洲综合久久综合激情久久| 性高湖久久久久久久久| 国产精品久久久久久久app| 国内精品久久久久久麻豆| 国产成人久久激情91| 少妇久久久久久久久久| 国产精品美女久久福利网站| 久久精品亚洲欧美日韩久久| 成人亚洲欧美久久久久| 国内精品久久久久伊人av| 亚洲αv久久久噜噜噜噜噜| 亚洲欧美日韩精品久久亚洲区| 国产精品成人无码久久久久久| 久久99国产精品久久99| 国产精品99久久精品| 国内精品人妻无码久久久影院| 久久夜色精品国产网站| 亚洲精品无码久久久影院相关影片 | 亚洲一区精品伊人久久伊人| 久久人妻少妇嫩草AV蜜桃| 久久久久久久国产免费看| 久久国产三级无码一区二区|