You dont need to spank the kid to get the message across.
You go in the room, unplug the computer, confiscate the ethernet cable, and drag the kid into his room and close the door. Dont let him eat dinner and make him sit in their the entire night with nothing to do.