end socket test