updating pid determination, adding tcp6 tests