How to know application name from add socket number?

Sometimes happens (sample from URS log):
xx:xx:xx.xxx Std 07041 Socket 14 is not responding within 10000 milliseconds, remote socket 46

Of course i have alarm on this event. But how i can know which one of application was on socket 14?

At present i know just one method: look at history log for addp trace messages while initialization occurs (-AI/-Ai). But from initialization time may pass too long time and first log could be already rotated.