I'm setting up a server with some clients using socket programming in c.
I found that in order to have more than one client, I should use threads or select or poll.
I know how should I use these function but when I searched I found that there is a way that used from thread and select together.
I have two questions:
1) what is the reason and benefits(using select and thread together)?
2) Is thread used for clients and select for reading the socket?