• <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;
            久久综合狠狠色综合伊人| 久久一区二区三区99| 久久精品国产亚洲AV无码麻豆| 久久久久亚洲精品无码蜜桃 | 久久青青国产| 亚洲精品乱码久久久久久蜜桃不卡 | 久久久精品人妻一区二区三区蜜桃| 72种姿势欧美久久久久大黄蕉| 久久久久亚洲精品无码网址| 久久精品免费一区二区| 国产精品久久毛片完整版| 久久久久国产日韩精品网站| 久久99精品国产自在现线小黄鸭| 国产成人精品久久| 大伊人青草狠狠久久| 成人久久免费网站| 亚洲精品无码久久不卡| 精品视频久久久久| 久久精品中文无码资源站 | 久久久久亚洲AV无码永不| 久久人人爽人人爽人人片AV麻豆| 久久久91精品国产一区二区三区| 亚洲欧美国产精品专区久久| 国产精品美女久久久免费| 久久er热视频在这里精品| 久久婷婷五月综合国产尤物app| 久久久WWW成人| 久久99精品久久久久久野外| 99久久精品免费看国产| 精品无码久久久久久午夜| 国内精品久久久久久久97牛牛| 日日躁夜夜躁狠狠久久AV| 午夜欧美精品久久久久久久| 一本久道久久综合狠狠爱| 久久婷婷五月综合97色直播| 思思久久精品在热线热| 亚洲精品美女久久久久99| 久久人人爽爽爽人久久久| 久久久久四虎国产精品| 久久久久久A亚洲欧洲AV冫| 亚洲国产日韩欧美久久|