With the newest esp32 official board manager, esp32 raises this error in serial monitor :
assert failed: tcp_alloc /IDF/components/lwip/lwip/src/core/tcp.c:1851 (Required to lock TCPIP core functionality!)
After contacting manufacturers support, they claimed it was that the library was deprecated.