[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] fix non interruptable hang in svn client when connecting

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2005-08-25 21:33:23 CEST

On Thu, Aug 25, 2005 at 03:22:39PM -0400, David James wrote:
> > server.sin_addr.s_addr = inet_addr("www.google.com");
> It is probably not a good idea to run this code, because it sends a
> potentially infinite number of requests to www.google.com. May I
> suggest targeting instead, for test scripts?

Actually, it won't, as inet_addr can't do DNS lookups, only convert IP
addresses, so it returns -1 ( instead. I'm not sure what
TCP/IP connections to the broadcast address are supposed to do.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 25 21:39:15 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.