mv listen function to set_socket function