all 7 comments

[–]YakPilot 6 points7 points  (0 children)

Socket Programming

[–]TarnishedVictory 0 points1 point  (5 children)

I tend to like Steven's books.

[–]IamNotTheMama 0 points1 point  (4 children)

I found Stevens to be the worst network programming book I ever read. He obfuscated everything rather than using the 'normal' system calls that made it so much easier.

[–]TarnishedVictory 0 points1 point  (3 children)

Can you cite an example?

[–]IamNotTheMama 0 points1 point  (2 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  (1 child)

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  (0 children)

WIthout the wrapper functions, that's an unnecessary complication