[EMAIL PROTECTED] wrote on 09/14/2004 09:06:29 AM: > How about if I change the function not to accept another argument, but > to explicitly look for a hostname/port combination, and pull out the > port part and use it? I would rather use "hostname/port" than > "hostname:port" to prepare for the miraculous day when IPv6 is widely > used. :-)
Let me preface this with "I haven't been a programmer in a long time!!" With that out of the way, would it be difficult to detect which format the host was specified? If there are multiple colons, it would be an IPv6 numeric address. If there is only one, it is hostname:port or IPv4:port. _______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

