• <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>

            S.l.e!ep.¢%

            像打了激速一樣,以四倍的速度運轉(zhuǎn),開心的工作
            簡單、開放、平等的公司文化;尊重個性、自由與個人價值;
            posts - 1098, comments - 335, trackbacks - 0, articles - 1
              C++博客 :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

            源URL:http://lists.zeromq.org/pipermail/zeromq-dev/2010-February/002383.html

            意思沒太懂,大概就是Z.E.R.O.M.Q主要是針對服務器間的通信,獲取客戶端連接IP的意義不大

            Hi Fred,
            
            >>> Just one question remains : were can I grab in the server
            >>> environment the IP address and portnumber of the sending client ?
            >> No way to do that at the moment, other than doing it at the app level
            >> (make up a client ID / use the IP address and stick it in the
            >> message).
            
            Let me give some background here.
            
            Simply said: 0MQ should manage connections for you. Your application 
            should be agnostic about exact location/identity of the peers. If you 
            want to work on the level of individual connections, use BSD sockets 
            rather than 0MQ.
            
            More complex answer: The issue has to do with scaling 0MQ into internet 
            scales. What you want to know is the identity of the peer who sent the 
            message. You are not interested in any middleboxes that may be on the 
            way (like zmq_forwarder etc.) Thus, getting IP address we've received 
            the message from is useless - it's IP address of the previous hop. Also, 
            if IP address is used as the identity, two applications running on the 
            same box would look exactly the same. Same application bound to several 
            network interfaces would look different depending on how exactly you are 
            connected to it. Etc.
            
            At the moment, the only thing you can do is to choose a name for your 
            application and fill it into the message. In easy to modify 0MQ to do 
            the thing for you, however, it's not a conceptual solution.
            
            Real solution still requires a lot of research work. Feel free to start 
            the discussion though.
            
            > OK, but that's (at least for me) not thrustworthy. Like SMTP telling me 
            > who they are. ;-)
            
            What you would consider trustworthy, what kind of attacks should it be 
            resistent to, etc.
            
            > You don't mind if I take a look at the sources to see whether it is 
            > doable for me ?
            
            Sure. Go for it. Any experimentation is valuable! The source is licensed 
            under LGPL so you can modify it in any way given that you publish the 
            result under LGPL.
            
            Martin
            无码日韩人妻精品久久蜜桃| 狠狠色丁香婷婷综合久久来来去| 亚洲AV无码久久精品色欲| 久久久久久久女国产乱让韩| 久久人人妻人人爽人人爽| 国产精品久久久久AV福利动漫 | av无码久久久久久不卡网站| 国内精品人妻无码久久久影院| 亚洲国产精品久久66| 亚洲国产综合久久天堂| 国产美女亚洲精品久久久综合| 狠狠色婷婷综合天天久久丁香| 精品免费久久久久国产一区| 综合网日日天干夜夜久久| AV无码久久久久不卡网站下载| 青草久久久国产线免观| 欧美亚洲色综久久精品国产| 久久精品国产一区二区电影| 一本一道久久综合狠狠老| 夜夜亚洲天天久久| 国产偷久久久精品专区| 亚洲国产二区三区久久| 精品一二三区久久aaa片| 精品久久人人做人人爽综合| 久久婷婷激情综合色综合俺也去| 久久―日本道色综合久久| 久久天天躁狠狠躁夜夜不卡| 99久久精品无码一区二区毛片| 久久妇女高潮几次MBA| 日本精品久久久久中文字幕8| 99久久国产宗和精品1上映 | 国产L精品国产亚洲区久久 | 国产毛片欧美毛片久久久| 国产福利电影一区二区三区久久老子无码午夜伦不 | 久久被窝电影亚洲爽爽爽| 99久久国产精品免费一区二区 | 久久青青草原精品影院| 伊人久久大香线蕉综合影院首页| 久久久精品无码专区不卡| 国产精品岛国久久久久| 亚洲精品乱码久久久久久久久久久久 |