Oct-21-2020, 01:00 PM
(Oct-21-2020, 12:43 PM)deanhystad Wrote: It is printed to the console because you are calling print. And print does not return the socket name, it returns None. ADDR = (print(s.getsockname()[0])) sets ADDR = None, so you are adding None to your listbox, not the socket name.
Thank you! Managed to resolve the issue (Day 2 of Python so a lot to learn!). Appreciate your help