JLR Interview Question

Question on socket communication C coding questions