added socket listen part and updated screen prints