I read the question that you are not going to write kernel code, and that the idea is not to change the executable that you are following.
Given these limitations, the answer is simple. No, you can not. A process calls a record (1 or record (2), and they can be sent anywhere, and there is no โwired connectionโ built into the system to help you see traffic on the way.
bmargulies
source share