Just got a question for Affiliates Plugin

I have the affiliates plugin. Does it run off cookies and how long does it track a visitor's IP 20 days? 30 days? 1? Does the affiliate plugin recognize a visitor that comes back to the site through there IP and if so does the affiliate plugin track that for affiliate payouts?