add the select socket sample