How Optical Receiver Works in Fiber Networks