• <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;
            亚洲精品无码久久久久去q| 久久一区二区免费播放| 免费精品久久久久久中文字幕 | 色综合久久天天综线观看| 99久久成人国产精品免费| 久久99精品久久久久久hb无码| 久久久久亚洲av无码专区喷水| 久久国产免费观看精品3| 久久精品一区二区三区不卡| 国产成人99久久亚洲综合精品 | 久久综合色区| 7777精品久久久大香线蕉| 久久久免费精品re6| 国产精品免费久久久久影院| 一级A毛片免费观看久久精品| 国内精品久久久久影院薰衣草| 久久久av波多野一区二区| 久久噜噜电影你懂的| 一本色道久久88综合日韩精品| 波多野结衣AV无码久久一区| 97久久精品人人做人人爽| 久久笫一福利免费导航| 国产精品岛国久久久久| 亚洲国产精品无码久久青草 | 国产成人久久精品区一区二区| 99热热久久这里只有精品68| 久久www免费人成看片| 97精品伊人久久久大香线蕉| 久久久久99精品成人片试看| 思思久久好好热精品国产| 久久精品成人影院| 爱做久久久久久| 欧美777精品久久久久网| 伊人久久无码中文字幕| 狠狠人妻久久久久久综合| 国产美女久久久| 久久久久亚洲av无码专区喷水 | 精品久久久无码人妻中文字幕豆芽| 99国产精品久久| 亚洲日本久久久午夜精品| 老司机国内精品久久久久|