27.5 | The problem is that the fifth argument to setsockopt is the pointer to the length, instead of the length. This bug was probably fixed when ANSI C prototypes were first used. As it turns out, the bug is harmless, because as we mentioned, to clear the IP_OPTIONS socket option, we can specify either a null pointer as the fourth argument or a fifth argument (the length) of 0 (p.269 of TCPv2). |