He benefited from the opportunity for local children to attend Durham School as a day-boy , enjoying a successful school career both on the academic side and in sport , representing the school at rugby and athletics .