Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Socket::PF_PACKET and Socket::PF_LINK undefined on Windows #30

Open
patakijv opened this issue Feb 5, 2016 · 0 comments
Open

Socket::PF_PACKET and Socket::PF_LINK undefined on Windows #30

patakijv opened this issue Feb 5, 2016 · 0 comments

Comments

@patakijv
Copy link

patakijv commented Feb 5, 2016

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.

irb(main):001:0> require 'socket'
=> true
irb(main):002:0> Socket.const_defined? :PF_LINK
=> false
irb(main):003:0> Socket.const_defined? :PF_PACKET
=> false

Is 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant