A process for all-optically switching an incoming optical signal having at
least a data packet is provided. The data packet including at least an
address bit in its header, and the process includes receiving the data
packet; processing the header optically; storing the decision made during
the processing of the header; and switching the whole incoming data
packet dependent upon the decision.