Capgemini Engineering interview question

Socket programming