Skip to content

Correct socket API terminology in chapter2 - #64

Merged
drbruced12 merged 7 commits into
SystemsApproach:mainfrom
Walentalien:fix/chapter2-client-server-computing
Sep 30, 2026
Merged

drbruced12 merged 7 commits into
SystemsApproach:mainfrom
Walentalien:fix/chapter2-client-server-computing

Conversation

@Walentalien

@Walentalien Walentalien commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor
  • use AF.. address family names
  • AF_UNIX is local communication not pipe
  • AF_PACKET - packet level access
  • using 0 for default protocol option

PF_INET still aliases AF_INET on linux for backwards compatibility as I understand.

Signed-off-by: Walentalien <voliinyk@student.agh.edu.pl>
Signed-off-by: Walentalien <voliinyk@student.agh.edu.pl>
Signed-off-by: Walentalien <voliinyk@student.agh.edu.pl>
Signed-off-by: Walentalien <voliinyk@student.agh.edu.pl>
Signed-off-by: Walentalien <voliinyk@student.agh.edu.pl>
Signed-off-by: Walentalien <voliinyk@student.agh.edu.pl>
Signed-off-by: Walentalien <voliinyk@student.agh.edu.pl>
@Walentalien
Walentalien marked this pull request as ready for review September 29, 2026 12:35

@drbruced12 drbruced12 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, we had started to update this with consistent, modern Linux terminology but didn't complete the job.
I verified that this matches current Linux specifications.

@drbruced12
drbruced12 merged commit d952005 into SystemsApproach:main Sep 30, 2026
2 checks passed
@Walentalien
Walentalien deleted the fix/chapter2-client-server-computing branch September 30, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants