• <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高性能服務器編程閱讀隨筆(一)





            Page 76 . 5.4 監聽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.





            可見與實現有關。


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

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

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

            热综合一本伊人久久精品 | 久久天天躁狠狠躁夜夜avapp| 国内精品久久国产大陆| 伊人久久五月天| 欧美久久一级内射wwwwww.| 精品久久国产一区二区三区香蕉| 国产精品美女久久久久av爽 | 久久伊人五月天论坛| 狠狠色伊人久久精品综合网| 久久久久黑人强伦姧人妻| 精品久久久久久国产三级| 久久久久亚洲AV无码专区网站 | 中文字幕无码精品亚洲资源网久久| 亚洲婷婷国产精品电影人久久| 久久综合视频网站| 99久久国产宗和精品1上映| 亚洲精品乱码久久久久久蜜桃不卡| 亚洲精品乱码久久久久久中文字幕| 久久天天躁狠狠躁夜夜网站| 青青草原1769久久免费播放| 色99久久久久高潮综合影院| 国产aⅴ激情无码久久| 亚洲国产精品成人AV无码久久综合影院 | 午夜久久久久久禁播电影| 久久五月精品中文字幕| 777米奇久久最新地址| 99久久精品免费看国产一区二区三区 | 久久人人爽人人爽人人片AV东京热 | 久久乐国产综合亚洲精品| 久久精品免费大片国产大片| 久久97精品久久久久久久不卡| 久久香综合精品久久伊人| 亚洲人成精品久久久久| 狠狠色丁香久久婷婷综合图片| 久久性精品| 色青青草原桃花久久综合| 一级A毛片免费观看久久精品| 久久九九免费高清视频| 日韩va亚洲va欧美va久久| 中文字幕无码av激情不卡久久| 久久人妻少妇嫩草AV蜜桃|