Is it possible to know which connection sent data wiht recv()?
Current setup is
- Main Thread spins and waits
- Thread 1 - do stuff unimportant to socket
- Thread 2 - accept() -> keep linked list of accetpted sockets
- Thread 3 - recv() -> can I know which IP addr/connection sent me the data I am currently reading?
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: