• <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;
            亚洲午夜久久久久久噜噜噜| 热99RE久久精品这里都是精品免费| 久久精品国产99久久无毒不卡| 99久久精品国产麻豆| 国产精品成人久久久久久久| 女人高潮久久久叫人喷水| 久久人妻少妇嫩草AV无码专区| 久久精品国产影库免费看| 精品无码久久久久久国产| 精产国品久久一二三产区区别| 久久精品亚洲一区二区三区浴池| 国产精品99久久精品爆乳| 色诱久久久久综合网ywww| 久久精品一区二区三区中文字幕| 久久国产精品77777| 国产激情久久久久久熟女老人| 国产高清美女一级a毛片久久w| 亚洲国产精品无码成人片久久| 久久久久国产精品三级网 | 国产成人无码精品久久久免费 | 久久精品国产亚洲av高清漫画| 日本久久久久久久久久| 九九热久久免费视频| 久久久国产精品福利免费| 久久亚洲AV成人出白浆无码国产| 香蕉99久久国产综合精品宅男自 | 久久亚洲精品成人AV| 久久久无码精品亚洲日韩蜜臀浪潮| 成人精品一区二区久久| 久久久久久免费一区二区三区| 久久精品人人做人人爽97 | 久久久久久久精品妇女99 | 国产精品久久久久影院嫩草 | 亚洲国产精品久久久久婷婷老年| 久久人人爽人人爽人人片AV东京热 | 精品一区二区久久久久久久网站| 久久夜色精品国产噜噜亚洲AV| 亚洲精品tv久久久久久久久| 久久WWW免费人成一看片| 少妇内射兰兰久久| 97久久综合精品久久久综合|