I'm having trouble with people flooding my java app with connections, and right now I have it so that if an IP opens more then 2 connections at once with it, it adds it to a "bad connections" array...
Type: Posts; User: Marty
I'm having trouble with people flooding my java app with connections, and right now I have it so that if an IP opens more then 2 connections at once with it, it adds it to a "bad connections" array...
I don't want to pull the list, I want to pull a random string from the list.
Thats basically all i have..
It adds it to the list fine as i had it print the list and it showed the playerName after it was added, just i need to add a method that picks a random String from...
Alright so far i've created the list, and am able to add/delete certain things from the list when neccessary.
Heres what I have..
public static ArrayList<String> cSP = new...