I\'m trying to make a server that can be connected to by multiple clients. Here\'s my code so far:
Client:
int main(int argc, char **argv) { struct so
In the while loop for the server, change the code to do recv(i) instead of recv(clientsocks[i]). I have implemented this code and it works with this change.
recv(i)
recv(clientsocks[i])