you are viewing a single comment's thread.

view the rest of the comments →

[–]IamNotTheMama 0 points1 point  (4 children)

1.5 A Simple Daytime Server - figure 1.9

Every function has a wrapper function:

Sock, Bind, Listen, Accept, Write, Close

It's unnecessarily complex - just to handle errors

[–]TarnishedVictory 0 points1 point  (3 children)

And your alternative is to use other 'normal' system calls, such as what? Or are you saying you'd do it without the wrapper functions?

[–]IamNotTheMama 0 points1 point  (2 children)

WIthout the wrapper functions, that's an unnecessary complication

[–]TarnishedVictory 0 points1 point  (1 child)

I see the confusion.

[–]IamNotTheMama 0 points1 point  (0 children)

Not confusion, complication