I have the following source code. I have been able to compare the IP address from the buffer but now I would like to save the IP address to a list if I already don’t have it in my list. As of now after compiling it give me the error: udp-server.c:175:3: error: subscripted value is neither array nor pointer nor vector.
What am I doing wrong and how can I solve this?
udp-server-edit.c (5.72 KB)