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?