I just emailed you the entire file, TpmServerPosix.c. For Linux, try: ping6 ::1 You could test with the link local IPv6 address, which begins with "fe80::" and will be listed in the ifconfig command output. That address only works on the local network.
Update on the link (link changed on github): https://gist.github.com/danintel/a15fa70e94b28dee96a77c9d1bb70387 (also I tweeked the patch to remove a gcc -Wextra mode warning) Testing: Connect to the server with your favorite TPM simulator client, using ::1 That is the link local IPv6 address. But first verify it is pingable with: ping ::1 If ::1 is in some sort of URI or URL, the address must be enclosed in [square brackets]. For example, http://[::1] All or most current operating systems have IPv6...
Update on the link (link changed on github): https://gist.github.com/danintel/a15fa70e94b28dee96a77c9d1bb70387 (also I tweeked the patch to remove a gcc -Wextra mode warning) Testing: Connect to the server with your favorite TPM simulator client, using ::1 That is the link local IPv6 address. But first verify it is pingable with: ping ::1 If ::1 is in some sort of URI or URL, the address must be enclosed in [square brackets]. For example, http://[::1] All or most current operating systems have IPv6...
Simulator does not support IPv6
Fix compiler warnings in tcsd with inproper printf format
TDDL function open_device() fails if fd == 0
Core dump caused by misaligned pointer in tcs get_tpm_metrics()
FYI, the downstream Oracle Solaris patch above is trousers/patches/include_tspps.h.patch