ubxlib: Error settings socket options for ICMP during Ping

Hello, The question is very simple, how can I get the ping error number 106, Error settings socket options for ICMP doing Ping if the Ping itself doesn’t need any socket? Ping command, which uses the Internet Control Message Protocol (ICMP), does not directly involve the creation of a socket in the same way that other network communication methods might. ICMP operates at a lower level than TCP or UDP and is used for network diagnostics rather than establishing a connection. But it’s not so simple. I’m receiving one positive answer: +UUPING: 1,32,"www.google.com","172.217.20.196",109,160 and then right after that +UUPINGER: 106

About this issue

  • Original URL
  • State: closed
  • Created 5 months ago
  • Comments: 23 (13 by maintainers)

Most upvoted comments

Ah, now I see, 106 == Error creating socket for ICMP. ICMP is a protocol and so would likely be opened as a socket type? Not really sure I’m afraid. I will ask internally what it should be interpreted as.

omg, I’m so sorry, it’s very late night already and I needed to go to sleep instead of posting. There’s a typo, not 10 but 106 Updated that post.