Closing Socket does not free resources.
I have implemented a HTTP_NET server and berkely API for other connection.
When update network configuration berkely TCP socket stops responding.
I am getting error 105 which is "#define ENOBUFS 105 /* No buffer space available */".
And http server is not responding as well.
I think closing socket does not free resources and it reaches MAX SOCKET limit.
I am already closing socket before attempting to open new one after stack restart again.
I have set TCP Socket = 10, UDP socket = 10, Net_PRES = 10, BSD = 10, htttp = 4 connection and DHCP,ICMP,ARP and Announce module.
Stack Heap = 49490
Total Heap = 51200
Please advice me is there any known bug or I am missing something in my code.
Is there anything extra needed to close the socket for tcp server?
post edited by arpatel - 2019/08/01 00:22:19