Comptel Interview Question

Write code for a terminal program to connect to a specific server