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

Received failed. errno: 22 #11

Open
rugebiker opened this issue Feb 10, 2015 · 9 comments
Open

Received failed. errno: 22 #11

rugebiker opened this issue Feb 10, 2015 · 9 comments

Comments

@rugebiker
Copy link

Hi, it compiled everything good without any warning, but when I try to test it locally
"./p2pvc 127.0.0.1 -v", I get a really loud weird noise, and also the screen prints a lot of "Received failed. errno: 22".

Something I might be doing wrong? thanks!

@emgram769
Copy link
Contributor

what OS/version of compiler are you using?

@rugebiker
Copy link
Author

fedora 21 x64, gcc (GCC) 4.9.2 20141101

@cpd85
Copy link
Collaborator

cpd85 commented Feb 10, 2015

Could this be an issue with ports being open? Looks like EINVAL and it's failing to receive.

@emgram769
Copy link
Contributor

@rugebiker would you mind pulling the latest and testing again? thanks

@rugebiker
Copy link
Author

I did, but still the same =/

@cpd85
Copy link
Collaborator

cpd85 commented Feb 10, 2015

Could you try running the following two commands before executing?
sudo /sbin/iptables -I INPUT -p udp --dport 55555 -j ACCEPT
sudo /sbin/iptables -I INPUT -p udp --dport 55556 -j ACCEPT

@rugebiker
Copy link
Author

still the same error =/

@emgram769
Copy link
Contributor

I've shrunk the size of the UDP packet, perhaps it works now. one question I have is: if you plug in headphones does the noise go away (and you can hear yourself)? it may be feedback.

@rugebiker
Copy link
Author

so with headphones when I run it, i don't hear the annoying high tone noise,., but i hear just random noise (like when there is no signal on an open tv channel)

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

3 participants