• <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.¢%

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

            源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
            99久久国产热无码精品免费久久久久| 久久成人国产精品| 久久精品这里只有精99品| 久久乐国产精品亚洲综合| 久久久久久伊人高潮影院| 亚洲va中文字幕无码久久不卡| 精品久久人妻av中文字幕| 久久久久国产精品三级网| 久久天天躁狠狠躁夜夜网站| 国内精品久久久久久久久| 亚洲人成伊人成综合网久久久| 99久久婷婷国产综合精品草原| 亚洲欧美一级久久精品| 国产国产成人精品久久| 国产精品成人久久久| 久久本道综合久久伊人| 精品久久久噜噜噜久久久 | 国内精品久久久久久麻豆 | 99国产精品久久| 欧美一区二区久久精品| 国产成人久久777777| 粉嫩小泬无遮挡久久久久久| 日韩精品久久久久久久电影| 国产综合精品久久亚洲| www.久久热| 成人久久精品一区二区三区 | 日韩人妻无码一区二区三区久久| 久久久久九九精品影院| 欧美精品一区二区精品久久| 久久久久久亚洲Av无码精品专口 | 久久99精品久久久久久| 久久久精品国产sm调教网站| 成人午夜精品无码区久久| 色婷婷综合久久久久中文字幕| 久久99精品国产一区二区三区 | 久久精品综合一区二区三区| 国产精品无码久久综合网| 99久久精品国产一区二区三区 | 精品国产91久久久久久久a| 久久夜色精品国产亚洲| 高清免费久久午夜精品|