• <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;
            色综合久久88色综合天天| 国产亚洲精品自在久久| 久久精品国产国产精品四凭| 精品国产乱码久久久久久浪潮| 久久久久久亚洲精品不卡| 亚洲精品午夜国产VA久久成人| 91精品国产91久久久久福利| 久久久久亚洲AV成人网人人软件| 久久毛片免费看一区二区三区| 亚洲色大成网站WWW久久九九| 久久er99热精品一区二区| 久久久久亚洲av成人无码电影 | 久久天天躁狠狠躁夜夜av浪潮 | 天天爽天天爽天天片a久久网| 久久久久久久亚洲精品| 99久久超碰中文字幕伊人| 热久久最新网站获取| 精品国产福利久久久| 亚洲AV无码久久精品狠狠爱浪潮 | 色综合久久中文字幕无码| 久久无码精品一区二区三区| 99久久精品国产麻豆| 色婷婷综合久久久久中文一区二区 | 狠狠综合久久AV一区二区三区| 久久久这里有精品| 久久国产热这里只有精品| 久久噜噜电影你懂的| 久久久久人妻一区二区三区vr| 亚洲精品久久久www| 无码任你躁久久久久久| 国产精品99久久不卡| 91精品日韩人妻无码久久不卡 | 日本三级久久网| 久久婷婷国产综合精品| 久久人妻少妇嫩草AV蜜桃| 欧美精品九九99久久在观看| 亚洲国产精品成人久久蜜臀| 青青草国产97免久久费观看| 婷婷久久综合九色综合九七| 亚洲国产成人久久综合一区77| 亚洲人AV永久一区二区三区久久|