Command Line Interface and Socket programming