Update: ConsoleUI

return value for functions using sockets