• <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蜜桃 | 久久久亚洲AV波多野结衣| 少妇无套内谢久久久久| 久久er99热精品一区二区| 丁香久久婷婷国产午夜视频| 久久久久久无码国产精品中文字幕| 国产精品久久婷婷六月丁香| 久久99久久99小草精品免视看| 精品久久久久久无码人妻热| 热re99久久精品国99热| 一本大道久久东京热无码AV| 久久精品亚洲一区二区三区浴池| 久久人妻少妇嫩草AV无码蜜桃 | 人妻精品久久久久中文字幕一冢本| 久久成人精品视频| 一本色道久久综合狠狠躁| 久久精品国产99久久丝袜| 久久99精品久久久久久| 久久精品国产亚洲AV无码偷窥| 久久人人爽人人爽人人片AV东京热| 国产亚洲精品美女久久久| 亚洲第一极品精品无码久久| 欧美久久一区二区三区| 国产999精品久久久久久| 久久成人影院精品777| 久久精品亚洲精品国产色婷| 97精品伊人久久久大香线蕉| 久久毛片免费看一区二区三区| 国产毛片久久久久久国产毛片| 日韩人妻无码一区二区三区久久| 一级做a爰片久久毛片免费陪| 91精品国产91热久久久久福利| 久久久一本精品99久久精品66| 欧美黑人激情性久久| 久久香蕉超碰97国产精品 | 久久精品99久久香蕉国产色戒| 一本一本久久a久久综合精品蜜桃| 久久这里有精品| 中文字幕乱码久久午夜|