Socket test