sample socket model