lwip在发送ping命令时,重复执行6次以上,socket返回-1

www220
Posts: 34
Joined: Wed Dec 21, 2016 7:21 am

lwip在发送ping命令时,重复执行6次以上,socket返回-1

Postby www220 » Wed Feb 07, 2018 6:55 am

怀疑对于lwip的SOCK_RAW, IP_PROTO_ICMP,类型sockt,close函数未进行释放,导致句柄耗尽

www220
Posts: 34
Joined: Wed Dec 21, 2016 7:21 am

Re: lwip在发送ping命令时,重复执行6次以上,socket返回-1

Postby www220 » Wed Feb 07, 2018 2:36 pm

必须使用socket的函数,不能使用lwip_socket这类函数,esp自己对lwip改造还是很大

Who is online

Users browsing this forum: Bing [Bot], karunt, schuyler_tpe and 72 guests