What do you mean with "Successfull Connects"?
The point with this suggestion is that you do not need to connect and add the IP, but simply ping it.
Example, pinging the IP found in a server log would look like:
Pinging xxx.xxx.xxx.xxx with 32 bytes of data:
Reply from xxx.xxx.xxx.xxx: bytes=32 time=30ms
IP added to database.
Could also show "xxx.xxx.xxx.xxx added to IP database", depending which is more user friendly.
While pinging a non-existing IP would show the default:
Pinging Im.no.real.IP with 32 bytes of data:
Request timed out.
Edit:
Forgot the 3rd scenario:
Pinging a IP that has already been added.
Pinging xxx.xxx.xxx.xxx with 32 bytes of data:
Reply from xxx.xxx.xxx.xxx: bytes=32 time=30ms
IP has already been added to database.
Or "xxx.xxx.xxx.xxx has already been added to IP database"