sockets programming: sending and receiving different data to different clients in C
问题 I have written a basic client server code in c socket programming using the TCP/IP protocol but i cant figure out how to make it connect to different clients and send/receive different data to and from them as a function to the client (meaning if its the first client send him that data and if its that client send him the other data) and so on. This is the only results i have found were sending the same data to different clients. Current Server: #include <stdio.h> #include <stdlib.h> #include