• <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ù)器中用信號來通知的,或者說來做異步的,就我了解是幾乎沒有。  作者去花了很多篇幅去介紹。

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

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


            只有注冊用戶登錄后才能發(fā)表評論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


            久久ww精品w免费人成| 亚洲国产日韩欧美久久| 九九精品99久久久香蕉| 久久ww精品w免费人成| 99久久婷婷国产一区二区| 久久综合久久伊人| 久久精品麻豆日日躁夜夜躁| 91精品国产高清久久久久久国产嫩草| 久久本道综合久久伊人| 无码国产69精品久久久久网站 | 日韩美女18网站久久精品| 久久久久亚洲国产| 中文精品久久久久国产网址| 日本WV一本一道久久香蕉| 久久青青草原综合伊人| 精品国产99久久久久久麻豆| 久久精品无码av| 久久国产精品99精品国产987| 国产精品久久久久久久app | 国产精品99久久99久久久| 日日狠狠久久偷偷色综合0| 国产精品久久亚洲不卡动漫| 综合久久精品色| 久久这里有精品视频| 久久精品国产亚洲麻豆| 久久精品中文騷妇女内射| 国色天香久久久久久久小说| 亚洲精品成人久久久| 88久久精品无码一区二区毛片| 久久久久亚洲精品天堂| 性做久久久久久久| 精产国品久久一二三产区区别| 久久精品亚洲精品国产欧美| 精品国产91久久久久久久a| 99精品伊人久久久大香线蕉| 99久久国产主播综合精品 | 久久国产午夜精品一区二区三区| 久久精品国产精品青草| 狠狠色丁香久久婷婷综| 国产成人久久精品二区三区| 国产综合免费精品久久久|