p2pvc icon indicating copy to clipboard operation
p2pvc copied to clipboard

Received failed. errno: 22

Open rugebiker opened this issue 10 years ago • 9 comments

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!

rugebiker avatar Feb 10 '15 00:02 rugebiker

what OS/version of compiler are you using?

emgram769 avatar Feb 10 '15 00:02 emgram769

fedora 21 x64, gcc (GCC) 4.9.2 20141101

rugebiker avatar Feb 10 '15 00:02 rugebiker

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

cpd85 avatar Feb 10 '15 00:02 cpd85

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

emgram769 avatar Feb 10 '15 03:02 emgram769

I did, but still the same =/

rugebiker avatar Feb 10 '15 10:02 rugebiker

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

cpd85 avatar Feb 10 '15 16:02 cpd85

still the same error =/

rugebiker avatar Feb 10 '15 22:02 rugebiker

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.

emgram769 avatar Feb 11 '15 03:02 emgram769

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)

rugebiker avatar Feb 12 '15 00:02 rugebiker