BasicSocket::setsockopt() what do the different constants mean

When I call the setsockopt, what do the different SOL_ and SO_ constants
mean? The explanation on the ruby docs doesn’t really tell me what is
being set.

Thanks for the help!

On 10/22/2012 02:08 PM, max herrera wrote:

When I call the setsockopt, what do the different SOL_ and SO_ constants
mean? The explanation on the ruby docs doesn’t really tell me what is
being set.

Thanks for the help!

Have a look at these and see if they clear any of it up for you.

man setsockopt
man 7 socket

Sam

max herrera wrote in post #1080634:

When I call the setsockopt, what do the different SOL_ and SO_ constants
mean? The explanation on the ruby docs doesn’t really tell me what is
being set.

This book is the standard reference:

http://www.amazon.co.uk/Unix-Network-Programming-Addison-Wesley-Professional/dp/0131411551/