Thread: Sockets
View Single Post
Old 08-22-2004, 09:22 PM   #6
Razzer
New Member
 
Join Date: Jan 2003
Posts: 3
Razzer is on a distinguished road
What do you mean? select() looks at all the sockets (well... really techy detail says otherwise, but just assume it does) it is passed.

I assume you would be interested in more of a reference than exact code so which you can be able to write the appropiate code yourself. You can always come back and ask, but I think the reference will do you go in the long run.

So, with that said, I would check out (I hope you like pink.) Click on the SocketsProgramming link on the bottom left-hand corner. Then go to the section "Terminal/ANSI". Those are references that probably should get you to a start. If you can't understand them, just go ahead and write a nasty e-mail to the site administrator on how he is unable to provide helpful links ().

Easiest way is like this:

Accept new connection.
Get IP address of connection.
Compare it to the list of banned IP addresses.
Kick if there is a match.
Razzer is offline   Reply With Quote