It's you who has to look at your own code!
Your setsockopt call is commented out!