Socket routing