{"action":"opened","issue":{"url":"https://api.github.com/repos/ahoward/macaddr/issues/30","repository_url":"https://api.github.com/repos/ahoward/macaddr","labels_url":"https://api.github.com/repos/ahoward/macaddr/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/ahoward/macaddr/issues/30/comments","events_url":"https://api.github.com/repos/ahoward/macaddr/issues/30/events","html_url":"https://github.com/ahoward/macaddr/issues/30","id":131750782,"number":30,"title":"Socket::PF_PACKET and Socket::PF_LINK undefined on Windows","user":{"login":"patakijv","id":110831,"avatar_url":"https://avatars.githubusercontent.com/u/110831?v=3","gravatar_id":"","url":"https://api.github.com/users/patakijv","html_url":"https://github.com/patakijv","followers_url":"https://api.github.com/users/patakijv/followers","following_url":"https://api.github.com/users/patakijv/following{/other_user}","gists_url":"https://api.github.com/users/patakijv/gists{/gist_id}","starred_url":"https://api.github.com/users/patakijv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patakijv/subscriptions","organizations_url":"https://api.github.com/users/patakijv/orgs","repos_url":"https://api.github.com/users/patakijv/repos","events_url":"https://api.github.com/users/patakijv/events{/privacy}","received_events_url":"https://api.github.com/users/patakijv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-05T20:44:57Z","updated_at":"2016-02-05T20:44:57Z","closed_at":null,"body":"I am running a windows 7 virtual machine and both Socket::PF_PACKET and Socket::PF_LINK are undefined. I can confirm this in the constants list for Socket in irb.\r\n\r\nirb(main):001:0> require 'socket'\r\n=> true\r\nirb(main):002:0> Socket.const_defined? :PF_LINK\r\n=> false\r\nirb(main):003:0> Socket.const_defined? :PF_PACKET\r\n=> false\r\n\r\nIs there another constant that will work instead or is there a reason why these constants may not be defined that is explainable that can lead to a solution?"}}