Access correct socket