Click here to Skip to main content
15,897,148 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DC absolute position Pin
Scott H. Settlemier2-Oct-02 12:03
Scott H. Settlemier2-Oct-02 12:03 
GeneralRe: DC absolute position Pin
alex.barylski2-Oct-02 12:08
alex.barylski2-Oct-02 12:08 
QuestionWM_LBUTTONDBLCLK not coming ? Pin
insanely4202-Oct-02 11:14
insanely4202-Oct-02 11:14 
AnswerRe: WM_LBUTTONDBLCLK not coming ? Pin
valikac2-Oct-02 11:22
valikac2-Oct-02 11:22 
AnswerRe: WM_LBUTTONDBLCLK not coming ? Pin
alex.barylski2-Oct-02 11:56
alex.barylski2-Oct-02 11:56 
GeneralRe: WM_LBUTTONDBLCLK not coming ? Pin
insanely4203-Oct-02 21:59
insanely4203-Oct-02 21:59 
GeneralDNS to IP resolution Pin
Anonymous2-Oct-02 11:00
Anonymous2-Oct-02 11:00 
GeneralRe: DNS to IP resolution Pin
Dave Bryant2-Oct-02 11:06
Dave Bryant2-Oct-02 11:06 
// Perform the DNS lookup
hostent *pHost = gethostbyname( pszHostname );
if ( pHost != 0 )
{
// Copy the IP address into sockaddr_in structure
// There is only one hostent structure per thread, so we need to copy it before we call the function
// again.
sockaddr_in addr;
memset( &addr, 0, sizeof(addr) );
addr.sin_family = AF_INET;
memcpy( &addr.sin_addr, pHost->h_addr, pHost->h_length );
}

This is unlikely to be much faster though as the DNS lookup itself is the bottleneck

Dave
GeneralRe: DNS to IP resolution Pin
Anonymous2-Oct-02 11:56
Anonymous2-Oct-02 11:56 
GeneralNever Mind.. I figured it out.. thanks again Pin
Anonymous2-Oct-02 12:38
Anonymous2-Oct-02 12:38 
QuestionHow do I update edit box in modeless dialog Pin
brianwelsch2-Oct-02 10:52
brianwelsch2-Oct-02 10:52 
AnswerRe: How do I update edit box in modeless dialog Pin
valikac2-Oct-02 11:25
valikac2-Oct-02 11:25 
GeneralRe: How do I update edit box in modeless dialog Pin
brianwelsch3-Oct-02 2:51
brianwelsch3-Oct-02 2:51 
GeneralRe: How do I update edit box in modeless dialog Pin
valikac3-Oct-02 8:26
valikac3-Oct-02 8:26 
GeneralRe: How do I update edit box in modeless dialog Pin
brianwelsch3-Oct-02 9:47
brianwelsch3-Oct-02 9:47 
GeneralRe: How do I update edit box in modeless dialog Pin
brianwelsch3-Oct-02 10:07
brianwelsch3-Oct-02 10:07 
Questionresource objects in header file???? Pin
Daniel Strigl2-Oct-02 10:52
Daniel Strigl2-Oct-02 10:52 
AnswerRe: resource objects in header file???? Pin
alex.barylski2-Oct-02 12:14
alex.barylski2-Oct-02 12:14 
AnswerRe: resource objects in header file???? Pin
Todd Smith2-Oct-02 14:43
Todd Smith2-Oct-02 14:43 
GeneralBig binary array to decimal array. Pin
Michael Liu2-Oct-02 10:10
Michael Liu2-Oct-02 10:10 
GeneralRe: Big binary array to decimal array. Pin
Chris Losinger2-Oct-02 10:45
professionalChris Losinger2-Oct-02 10:45 
GeneralRe: Big binary array to decimal array. Pin
Phil J Pearson2-Oct-02 12:13
Phil J Pearson2-Oct-02 12:13 
GeneralRe: Big binary array to decimal array. Pin
NormDroid3-Oct-02 7:10
professionalNormDroid3-Oct-02 7:10 
GeneralRe: Big binary array to decimal array. Pin
Michael Liu3-Oct-02 7:36
Michael Liu3-Oct-02 7:36 
Generalwhy is this crashing? CString question Pin
ns2-Oct-02 10:01
ns2-Oct-02 10:01 

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.