Infrared sensor + ethernet sheild

How do i connect my Arduino to ethernet shield and activate the IR Transfer please