How to get a socket's position relative to it's parent component?

BTW, Sorry for the code formatting, it didn’t look like that on my screen :confused:

Here’s a better formatted one:

https://dl.dropboxusercontent.com/u/101118701/Formatted.txt