Can we determine information about open socket connections?

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Can we determine information about open socket connections?

Postby kolban » Tue Nov 15, 2016 11:48 pm

I recently found that I was running a broken app that ran out of sockets (max = 16). It would have helped me a lot if I could have "queried" the environment to obtain a list of TCP/UDP/Socket connections in use. Are there are APIs that I can use to "interrogate" the environment to find out what connections (inbound, outbound or listening) that may be in my environment?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32


Who is online

Users browsing this forum: No registered users and 306 guests