the invention relates to a socket for a plug and socket connection for coupling an optical fiber used in optical telecommunication systems . the socket comprises a light detector for converting the light radiated adjacent the optical fiber into an electrical signal for controlling the power dissipation of the light source .