Click here to Skip to main content
12,818,688 members (28,532 online)

Welcome to the Lounge

   

For discussing anything related to a software developer's life. Technical discussions are encouraged, but click here to ask your programming questions.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
GeneralThat's Cool Pin
John Simmons / outlaw programmer17-Nov-12 6:03
mvpJohn Simmons / outlaw programmer17-Nov-12 6:03 
GeneralRe: That's Cool PinPopular
OriginalGriff17-Nov-12 6:15
mvpOriginalGriff17-Nov-12 6:15 
GeneralRe: That's Cool Pin
Ravi Bhavnani17-Nov-12 6:54
memberRavi Bhavnani17-Nov-12 6:54 
GeneralRe: That's Cool Pin
John Simmons / outlaw programmer17-Nov-12 7:10
mvpJohn Simmons / outlaw programmer17-Nov-12 7:10 
I found another way here:

http://stackoverflow.com/questions/997046/gethostentry-is-very-slow[^]

It took the non-threaded version down to two minutes, and the threaded one down to 1 second. (Checking all IPs from 1 to 255).
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997


GeneralRe: That's Cool Pin
OriginalGriff17-Nov-12 7:46
mvpOriginalGriff17-Nov-12 7:46 
GeneralRe: That's Cool Pin
SoMad17-Nov-12 12:44
memberSoMad17-Nov-12 12:44 
GeneralRe: That's Cool Pin
cptKoala18-Nov-12 11:48
membercptKoala18-Nov-12 11:48 
GeneralRe: That's Cool Pin
OriginalGriff18-Nov-12 22:13
mvpOriginalGriff18-Nov-12 22:13 
GeneralRe: That's Cool Pin
harold aptroot17-Nov-12 6:42
memberharold aptroot17-Nov-12 6:42 
GeneralRe: That's Cool Pin
John Simmons / outlaw programmer17-Nov-12 6:45
mvpJohn Simmons / outlaw programmer17-Nov-12 6:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 24 Mar 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid