verify socket