send pin number to socket