c - Limit Incoming TCP Connections based on IP -
In what socket does any kind of offer to limit the number of incoming connections on the socket based on IP?
For example, to prevent a customer from the spamming connection, is there a way to limit the number of IPs to connect to a socket?
Or should such a thing be made custom?
I think the real motive you are talking about is throttling, that is, someone For a particular client / connection, allows only a certain number of packets at a given time.
There are some types of support available in most modern languages such as Java or C # but not C
However, here's a great approach to implementing it, I have used myself in the production code.
Comments
Post a Comment