René's URL Explorer Experiment


Title: CS-Notes/docs/notes/Socket.md at master · javamickey/CS-Notes · GitHub

Open Graph Title: CS-Notes/docs/notes/Socket.md at master · javamickey/CS-Notes

X Title: CS-Notes/docs/notes/Socket.md at master · javamickey/CS-Notes

Description: 😋 技术面试必备基础知识. Contribute to javamickey/CS-Notes development by creating an account on GitHub.

Open Graph Description: 😋 技术面试必备基础知识. Contribute to javamickey/CS-Notes development by creating an account on GitHub.

X Description: 😋 技术面试必备基础知识. Contribute to javamickey/CS-Notes development by creating an account on GitHub.

Opengraph URL: https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:60eb4e1f-5d10-f355-685e-9b3a77fc76d0
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idBA74:3D0DAC:39534D6:51A4315:6A569B6A
html-safe-nonce8b032fa75c7958b988b832d176d2d5827ae9a4e449a185b7870f92ee21a55ea6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTc0OjNEMERBQzozOTUzNEQ2OjUxQTQzMTU6NkE1NjlCNkEiLCJ2aXNpdG9yX2lkIjoiMzg4NzQ1NDE5NTA3OTg3OTUzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2c46ad473281600d8ebe33b536c24a9b80bbe833d4c0d5cf3af6c238062a0f30
hovercard-subject-tagrepository:173036440
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///blob/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md
twitter:imagehttps://opengraph.githubassets.com/f7ec30115ec6461f5b0bc6652182267087052c158b114e4f3aac7426e34fbb73/javamickey/CS-Notes
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f7ec30115ec6461f5b0bc6652182267087052c158b114e4f3aac7426e34fbb73/javamickey/CS-Notes
og:image:alt😋 技术面试必备基础知识. Contribute to javamickey/CS-Notes development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None647a25f437e2f54eccdd162bd007c8ae70f4235c4125dba0f4518747cc8b9615
turbo-cache-controlno-cache
go-importgithub.com/javamickey/CS-Notes git https://github.com/javamickey/CS-Notes.git
octolytics-dimension-user_id1780421
octolytics-dimension-user_loginjavamickey
octolytics-dimension-repository_id173036440
octolytics-dimension-repository_nwojavamickey/CS-Notes
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id121395510
octolytics-dimension-repository_parent_nwoCyC2018/CS-Notes
octolytics-dimension-repository_network_root_id121395510
octolytics-dimension-repository_network_root_nwoCyC2018/CS-Notes
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release05adb86a60ce3d701e556eded3ab26300ec6bcc4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjavamickey%2FCS-Notes%2Fblob%2Fmaster%2Fdocs%2Fnotes%2FSocket.md
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjavamickey%2FCS-Notes%2Fblob%2Fmaster%2Fdocs%2Fnotes%2FSocket.md
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=javamickey%2FCS-Notes
Reloadhttps://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md
Reloadhttps://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md
Reloadhttps://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md
javamickey https://github.com/javamickey
CS-Noteshttps://github.com/javamickey/CS-Notes
CyC2018/CS-Noteshttps://github.com/CyC2018/CS-Notes
Notifications https://github.com/login?return_to=%2Fjavamickey%2FCS-Notes
Fork 0 https://github.com/login?return_to=%2Fjavamickey%2FCS-Notes
Star 0 https://github.com/login?return_to=%2Fjavamickey%2FCS-Notes
Code https://github.com/javamickey/CS-Notes
Pull requests 0 https://github.com/javamickey/CS-Notes/pulls
Actions https://github.com/javamickey/CS-Notes/actions
Projects https://github.com/javamickey/CS-Notes/projects
Security and quality 0 https://github.com/javamickey/CS-Notes/security
Insights https://github.com/javamickey/CS-Notes/pulse
Code https://github.com/javamickey/CS-Notes
Pull requests https://github.com/javamickey/CS-Notes/pulls
Actions https://github.com/javamickey/CS-Notes/actions
Projects https://github.com/javamickey/CS-Notes/projects
Security and quality https://github.com/javamickey/CS-Notes/security
Insights https://github.com/javamickey/CS-Notes/pulse
https://github.com/javamickey/CS-Notes
CS-Noteshttps://github.com/javamickey/CS-Notes/tree/master
docshttps://github.com/javamickey/CS-Notes/tree/master/docs
noteshttps://github.com/javamickey/CS-Notes/tree/master/docs/notes
Historyhttps://github.com/javamickey/CS-Notes/commits/master/docs/notes/Socket.md
https://github.com/javamickey/CS-Notes/commits/master/docs/notes/Socket.md
CS-Noteshttps://github.com/javamickey/CS-Notes/tree/master
docshttps://github.com/javamickey/CS-Notes/tree/master/docs
noteshttps://github.com/javamickey/CS-Notes/tree/master/docs/notes
Rawhttps://github.com/javamickey/CS-Notes/raw/refs/heads/master/docs/notes/Socket.md
点击阅读面试进阶指南 https://github.com/CyC2018/Backend-Interview-Guide
一、I/O 模型https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#%E4%B8%80io-%E6%A8%A1%E5%9E%8B
阻塞式 I/Ohttps://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#%E9%98%BB%E5%A1%9E%E5%BC%8F-io
非阻塞式 I/Ohttps://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#%E9%9D%9E%E9%98%BB%E5%A1%9E%E5%BC%8F-io
I/O 复用https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#io-%E5%A4%8D%E7%94%A8
信号驱动 I/Ohttps://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#%E4%BF%A1%E5%8F%B7%E9%A9%B1%E5%8A%A8-io
异步 I/Ohttps://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#%E5%BC%82%E6%AD%A5-io
五大 I/O 模型比较https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#%E4%BA%94%E5%A4%A7-io-%E6%A8%A1%E5%9E%8B%E6%AF%94%E8%BE%83
二、I/O 复用https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#%E4%BA%8Cio-%E5%A4%8D%E7%94%A8
selecthttps://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#select
pollhttps://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#poll
比较https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#%E6%AF%94%E8%BE%83
epollhttps://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#epoll
工作模式https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#%E5%B7%A5%E4%BD%9C%E6%A8%A1%E5%BC%8F
应用场景https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#%E5%BA%94%E7%94%A8%E5%9C%BA%E6%99%AF
参考资料https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#%E5%8F%82%E8%80%83%E8%B5%84%E6%96%99
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#一io-模型
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#阻塞式-io
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/pics/1492928416812_4.png
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#非阻塞式-io
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/pics/1492929000361_5.png
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#io-复用
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/pics/1492929444818_6.png
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#信号驱动-io
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/pics/1492929553651_7.png
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#异步-io
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/pics/1492930243286_8.png
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#五大-io-模型比较
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/pics/1492928105791_3.png
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#二io-复用
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#select
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#poll
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#比较
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#1-功能
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#2-速度
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#3-可移植性
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#epoll
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#工作模式
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#1-lt-模式
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#2-et-模式
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#应用场景
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#1-select-应用场景
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#2-poll-应用场景
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#3-epoll-应用场景
https://github.com/javamickey/CS-Notes/blob/master/docs/notes/Socket.md#参考资料
Boost application performance using asynchronous I/Ohttps://www.ibm.com/developerworks/linux/library/l-async/
Synchronous and Asynchronous I/Ohttps://msdn.microsoft.com/en-us/library/windows/desktop/aa365683(v=vs.85).aspx
Linux IO 模式及 select、poll、epoll 详解https://segmentfault.com/a/1190000003063859
poll vs select vs event-basedhttps://daniel.haxx.se/docs/poll-vs-select.html
select / poll / epoll: practical difference for system architectshttp://www.ulduzsoft.com/2014/01/select-poll-epoll-practical-difference-for-system-architects/
Browse the source code of userspace/glibc/sysdeps/unix/sysv/linux/ onlinehttps://code.woboq.org/userspace/glibc/sysdeps/unix/sysv/linux/
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.