FYI this doesn't get your dial-up IP address (unless you don't have a network card installed). Also I would wrap a TRY..FINALLY around it. ICS has a way of getting the dialup ip address, I don't have the code at work for it. JED >>function LocalIP : string; --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"