hi gu,
thanks for the response
the peice of code I pasted in my question is from an old whois script I have.. however... the new function of the script is different & the port number is there just for example.. im really looking for advice on comparing statements found in a servers response with those on file..
thanks