In an optical telecommunication system in which an intensity of an
arriving optical signal is different for each packet, detected is an
optical intensity for each packet with little error. For this purpose,
contrived is to detect an average optical intensity across header parts
for each packet by focusing on the fact that the header part comprising
the preamble and delimiter of a packet is in a bit pattern which includes
approximately the same numbers of "0" and "1".