Click here to Skip to main content
15,920,956 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
Jayapal Chandran17-Feb-10 5:51
Jayapal Chandran17-Feb-10 5:51 
GeneralRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
David Crow17-Feb-10 5:58
David Crow17-Feb-10 5:58 
GeneralRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
Jayapal Chandran17-Feb-10 6:15
Jayapal Chandran17-Feb-10 6:15 
GeneralRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
David Crow17-Feb-10 6:23
David Crow17-Feb-10 6:23 
GeneralRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
Jayapal Chandran17-Feb-10 7:07
Jayapal Chandran17-Feb-10 7:07 
GeneralRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
David Crow17-Feb-10 7:14
David Crow17-Feb-10 7:14 
GeneralRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
Jayapal Chandran17-Feb-10 7:23
Jayapal Chandran17-Feb-10 7:23 
GeneralRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
Jayapal Chandran18-Feb-10 8:39
Jayapal Chandran18-Feb-10 8:39 
I was trying to get the ip of host name using getaddrinfo. The linked list updated by this function (addrinfo structure)has sockaddr type which has only to types. How to find ip from hostname using getaddrinfo?

MSDN has stated that it is better to use getaddrinfo instead of gethostbyname.
Today's Beautiful Moments are
Tomorrow's Beautiful Memories

GeneralRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
Richard MacCutchan16-Feb-10 8:07
mveRichard MacCutchan16-Feb-10 8:07 
GeneralRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
Jayapal Chandran16-Feb-10 11:03
Jayapal Chandran16-Feb-10 11:03 
GeneralOT: thanks for all the fish Pin
Richard MacCutchan16-Feb-10 13:00
mveRichard MacCutchan16-Feb-10 13:00 
GeneralRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
Jayapal Chandran16-Feb-10 7:20
Jayapal Chandran16-Feb-10 7:20 
GeneralRe: h_addr_list of gethostbyname returns negative values for google.com or other servers like example.com Pin
Richard MacCutchan16-Feb-10 8:12
mveRichard MacCutchan16-Feb-10 8:12 
QuestionHow to make Checkbocx control (IDC_CHECK) transparent in C++ Pin
Supriya Tonape15-Feb-10 8:52
Supriya Tonape15-Feb-10 8:52 
AnswerRe: This might help you Pin
Jayapal Chandran15-Feb-10 9:24
Jayapal Chandran15-Feb-10 9:24 
GeneralRe: This might help you Pin
Supriya Tonape15-Feb-10 22:49
Supriya Tonape15-Feb-10 22:49 
QuestionZombie command window after debugging VS2008 Pin
addick15-Feb-10 5:07
addick15-Feb-10 5:07 
AnswerRe: Zombie command window after debugging VS2008 Pin
Ted-XP15-Feb-10 6:45
Ted-XP15-Feb-10 6:45 
AnswerRe: Zombie command window after debugging VS2008 Pin
wuziq16-Feb-10 12:55
wuziq16-Feb-10 12:55 
AnswerRe: Zombie command window after debugging VS2008 Pin
hssaggu17-Feb-10 8:17
hssaggu17-Feb-10 8:17 
GeneralRe: Zombie command window after debugging VS2008 Pin
addick18-Feb-10 22:15
addick18-Feb-10 22:15 
GeneralRe: Zombie command window after debugging VS2008 Pin
hssaggu19-Feb-10 7:03
hssaggu19-Feb-10 7:03 
AnswerRe: Zombie command window after debugging VS2008 Pin
abedl18-Mar-10 4:43
abedl18-Mar-10 4:43 
AnswerRe: Zombie command window after debugging VS2008 Pin
Tomasz M. Sadowski30-Mar-10 8:12
Tomasz M. Sadowski30-Mar-10 8:12 
QuestionWhich would you use - a static or member function for your worker thread? Pin
Ben Aldhouse15-Feb-10 4:49
Ben Aldhouse15-Feb-10 4:49 

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.