Ports can have input, output, both or none.