For a bit of extra context, it's worth pointing out that TCP_INFO does not always give complete information. The kernel may create internal TCP connections that are not actually associated with a socket anymore [1].
However, any such connections are beyond our power to enumerate anyway. /proc/net/tcp does not give us process information, only the inode, and the inode for these sockets is apparently 0 anyway.