is it possible to compare two connected SocketChannels to find out if they're from the same computer? I have a java program that needs to match two connections. Matching by IPs is not reliable enough bacause comparing IPs can't tell if the connections are from the same machine.

I've been looking for the answer but haven't found any.

Thank you.