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

            從頭再來

            Linux高性能服務(wù)器編程閱讀隨筆(一)





            Page 76 . 5.4 監(jiān)聽socket 




            此處作者說法不完整。  


            通過Google "man listen "  http://linux.die.net/man/2/listen


            listen() marks the socket referred to by sockfd as a passive socket, that is, as a socket that will be used to accept incoming connection requests using accept(2).

            The sockfd argument is a file descriptor that refers to a socket of type SOCK_STREAM or SOCK_SEQPACKET.

            The backlog argument defines the maximum length to which the queue of pending connections for sockfd may grow. If a connection request arrives when the queue is full, the client may receive an error with an indication of ECONNREFUSED or, if the underlying protocol supports retransmission, the request may be ignored so that a later reattempt at connection succeeds.





            可見與實現(xiàn)有關(guān)。


            書的內(nèi)容還是很全的,但作者的觀點略感覺不對。  服務(wù)器中用信號來通知的,或者說來做異步的,就我了解是幾乎沒有。  作者去花了很多篇幅去介紹。

            讓人感覺完全是為了湊字數(shù)啊。  書名里面的“高性能”要打個折扣了

            posted on 2014-10-21 19:14 易寶@byhh 閱讀(374) 評論(0)  編輯 收藏 引用

            国产综合久久久久久鬼色| 亚洲愉拍99热成人精品热久久| 99久久精品免费国产大片| 91超碰碰碰碰久久久久久综合| 久久精品国产亚洲Aⅴ蜜臀色欲| 日韩AV毛片精品久久久| 狠狠色丁香久久综合五月| 日韩AV毛片精品久久久| 国产精品久久久久久影院| 久久免费99精品国产自在现线| 久久久久久国产精品无码超碰| 精品乱码久久久久久夜夜嗨| 色偷偷偷久久伊人大杳蕉| 久久这里有精品视频| 精品久久久久久综合日本| 精品久久久无码人妻中文字幕| 国产高清美女一级a毛片久久w | 国产精品内射久久久久欢欢| 久久久这里只有精品加勒比 | 久久午夜无码鲁丝片秋霞| 久久精品国产一区| 久久久免费精品re6| 亚洲午夜久久久久久久久电影网| 99热都是精品久久久久久| 99久久精品日本一区二区免费| 亚洲中文精品久久久久久不卡| 欧美日韩精品久久免费| 久久久久99这里有精品10| 久久久久亚洲AV成人网人人网站 | 国内精品久久久久久不卡影院| 久久久久99精品成人片欧美| 香蕉久久av一区二区三区| 综合久久国产九一剧情麻豆 | 久久免费香蕉视频| 国产成人无码精品久久久免费| 久久er热视频在这里精品| 99久久中文字幕| 一本大道加勒比久久综合| 日本免费一区二区久久人人澡| 久久精品蜜芽亚洲国产AV| 国产精品久久久久无码av|