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

            Address family not supported by protocol family.

            Posted on 2010-02-10 16:22 Prayer 閱讀(9223) 評(píng)論(0)  編輯 收藏 引用 所屬分類: SOCKET
            我的udp程序,運(yùn)行時(shí)提示錯(cuò)誤:  
              sendto   error   in   udptalk.c!  
              Address   family   not   supported   by   protocol   family.  
              我使用的協(xié)議socket(AF_INET,SOCK_DGRAM,0)  
              請(qǐng)教錯(cuò)誤原因。  

            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久久精品影院老鸭窝| 久久精品国产99久久久古代| 久久人人爽人人爽人人AV东京热| 久久频这里精品99香蕉久| 伊人久久大香线蕉综合Av| av无码久久久久不卡免费网站| 狠狠色丁香久久综合婷婷| 国产日韩久久久精品影院首页 | 久久久精品久久久久久| 一本大道久久东京热无码AV| 亚洲午夜久久久久久久久电影网| 久久91亚洲人成电影网站| 无夜精品久久久久久| 99久久综合狠狠综合久久止| 久久人人超碰精品CAOPOREN| 久久精品无码专区免费青青| 欧美成a人片免费看久久| 国产麻豆精品久久一二三| 亚洲国产成人久久综合一区77| 久久人人爽人人爽人人片AV不 | 亚洲精品国产自在久久| 1000部精品久久久久久久久| 亚洲欧洲久久久精品| 国产叼嘿久久精品久久| 99久久精品国产高清一区二区 | 伊人久久国产免费观看视频| 波多野结衣中文字幕久久| 久久婷婷午色综合夜啪| 久久国产热这里只有精品| 狠狠色丁香久久综合婷婷| 久久久噜噜噜www成人网| 亚洲精品无码久久久久去q| 亚洲欧美国产精品专区久久| 99久久免费国产精品| 国产高潮久久免费观看| 办公室久久精品| 国产成人无码精品久久久免费| 日韩亚洲欧美久久久www综合网 | 欧美激情精品久久久久久久| 国产成人久久精品二区三区| 国产精品va久久久久久久|