Re: Trigger EHOSTUNREACH

2016-12-05 Thread Marco Zunino
Hi Neal, thank you! I can succesfully repoduce the following socket error now after setting the IP_RECVERR socket option: ICMP type=3, code=1 -> EHOSTUNREACH ICMP type=3, code=2 -> ENOPROTOOPT ICMP type=3, code=3 -> ECONNREFUSED ICMP type=3, code=4 -> No error ICMP type=3, code

Re: Trigger EHOSTUNREACH

2016-12-04 Thread Neal Cardwell
On Sun, Dec 4, 2016 at 7:04 AM, Marco Zunino wrote: > Hallo everyone, hope you are having a good day > we are building a networking testing tool to simulate network error > condition, and we are having difficulties triggering the EHOSTUNREACH > socket error. > > We are trying to trigger this error