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

http://www.ruby-doc.org/stdlib-1.9.3/libdoc/socket/rdoc/BasicSocket.html#method-i-setsockopt

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!

···

--
Posted via http://www.ruby-forum.com/.

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

man setsockopt
man 7 socket

Sam

···

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

Class: BasicSocket (Ruby 1.9.3)

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!

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:

···

--
Posted via http://www.ruby-forum.com/\.