Socket Switching

I have found the solution. I am using integers nodes and such.

If anyone is having troubles with this just type your question.