totally untested code for changing the way we set which socket is which