[En-Nut-Discussion] List TCP sockets for debug
harald.kipp at egnite.de
Thu Oct 4 16:15:56 CEST 2007
Dave Warren schrieb:
> I would like to list connected tcp sockets and the thread using the socket
> for debug reasons. Anyone have ideas as to how it can be done?
The routine ShowSockets() in the httpd sample shows how to list TCP sockets.
Sockets are not bound to a specific thread, thus there is no
thread/socket relationship. The rs232d sample provides an example, where
the same socket is used by two threads concurrently.
More information about the En-Nut-Discussion