Do sockets in C offer any kind of way to limit the number of incoming connections to the socket based on the IP?
For example, to prevent one client IP from spamming connections, is there a way to limit the number of times an IP can connect to a socket?
Or does something like this have to be custom made?