• <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;
            中文字幕日本人妻久久久免费| 国产精品成人久久久| 国产精品99精品久久免费| 久久久久国产精品熟女影院| 国产精品国色综合久久| 久久久久久久国产免费看| 亚洲色婷婷综合久久| 久久不见久久见免费影院www日本| 四虎影视久久久免费| 亚洲国产精品无码久久久不卡 | 亚洲国产成人精品91久久久| 中文字幕无码精品亚洲资源网久久| 国内精品久久久久伊人av| 久久久久99精品成人片| 久久精品国产亚洲AV无码娇色 | 久久99精品国产| 奇米影视7777久久精品人人爽| 欧洲成人午夜精品无码区久久| 久久精品国产99久久香蕉| 久久免费线看线看| 久久亚洲美女精品国产精品| 一级做a爰片久久毛片看看| 久久久久国产精品嫩草影院| 国产日产久久高清欧美一区| 人妻丰满AV无码久久不卡| 狠狠综合久久综合88亚洲| 亚洲精品国产自在久久| 久久免费99精品国产自在现线 | 久久99精品久久久久久野外| 久久精品国产亚洲av高清漫画| 久久有码中文字幕| 久久天天躁狠狠躁夜夜2020| 国产成人久久久精品二区三区| MM131亚洲国产美女久久| 久久国产热精品波多野结衣AV| 久久综合久久美利坚合众国| 开心久久婷婷综合中文字幕| 欧美精品福利视频一区二区三区久久久精品 | 91麻豆精品国产91久久久久久 | 人妻系列无码专区久久五月天| 精品国产综合区久久久久久|