make a for statement
only to give you the general idea :)
Code
for each ip as string in Yourlistbox.items
savemystuff
next iponly to give you the general idea :)
