On 7.8.2006 14:39 Bernd Hesse wrote: > Maybe someone here knows if changing the order of IPAdress.Parse() and > Dns.GetHostEntry() may impact > > speed or wants to help testing ;D
I don't think so. The Dns.GetHostEntry method return ASAP if you provide IP address. So there's no speed gap. The only one problem (theoretically) is, if you are connecting to machine with more interfaces with bridge over it in local network (through local network). Then the method is discovering the other IPs (from view of DNS). So I don't think there's a problem with this. If you also count into the conection timeout, database connection establishment (BTW connection pool also helps), etc. humm, this isn't first place for optimalization. -- Jiri {x2} Cincura http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider