linux – Handling multiple client’s file descriptors C

I’m working on a exam project, witch is a server/client application in C with OS Linux. The server needs to send a request to every connected client and then it grabs only one response, from the first client to answer. Now how do I keep track of all the connected client? I’m using the call accept() to get a file descriptor for talking to a new client, but I dont get how to store multiple of them in a proper way. Also ho do i get only the first response and trash all the others?