Click here to Skip to main content
15,913,225 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: almost got it little help please Pin
David Crow17-Sep-03 10:25
David Crow17-Sep-03 10:25 
GeneralRe: almost got it little help please Pin
colin2117-Sep-03 11:37
colin2117-Sep-03 11:37 
GeneralRe: almost got it little help please Pin
David Crow18-Sep-03 3:49
David Crow18-Sep-03 3:49 
GeneralRe: almost got it little help please Pin
DougW4817-Sep-03 13:54
DougW4817-Sep-03 13:54 
Generalbeginner winsock question Pin
mweiss17-Sep-03 9:08
mweiss17-Sep-03 9:08 
GeneralRe: beginner winsock question Pin
David Crow17-Sep-03 9:38
David Crow17-Sep-03 9:38 
GeneralRe: beginner winsock question Pin
valikac17-Sep-03 12:43
valikac17-Sep-03 12:43 
Generalgethostbyaddr problem Pin
ns17-Sep-03 8:58
ns17-Sep-03 8:58 
I tried with the microsoft IP address, and neither call to gethost.... is successful.......the longPtrHostEnt is 0, and result is 11004 error which means valid address but no data record found..........
try {
    
    HOSTENT*  lngPtrHostEnt ;
//    'host name we are looking for
    char* strHostName   ;  
   	unsigned long Addr = inet_addr("207.46.197.102");


        lngPtrHostEnt = gethostbyaddr((char*)&Addr, 4, AF_INET);
		int result = WSAGetLastError();


or
lngPtrHostEnt = gethostbyaddr("207.46.197.102", 4, AF_INET);
 int result = WSAGetLastError();





Thanks,
ns
GeneralRe: gethostbyaddr problem Pin
David Crow17-Sep-03 9:33
David Crow17-Sep-03 9:33 
GeneralRe: gethostbyaddr problem Pin
ns17-Sep-03 9:54
ns17-Sep-03 9:54 
GeneralRe: gethostbyaddr problem Pin
David Crow17-Sep-03 10:08
David Crow17-Sep-03 10:08 
GeneralPrint help easy question Pin
Binayak17-Sep-03 8:50
Binayak17-Sep-03 8:50 
GeneralRe: Print help easy question Pin
vcplusplus17-Sep-03 9:32
vcplusplus17-Sep-03 9:32 
GeneralCharacter Set of a String Pin
hckygirloh17-Sep-03 8:50
hckygirloh17-Sep-03 8:50 
GeneralRe: Character Set of a String Pin
Daniel Turini17-Sep-03 9:42
Daniel Turini17-Sep-03 9:42 
GeneralGlobal Hook with a Callback Pin
tsprang17-Sep-03 8:49
tsprang17-Sep-03 8:49 
GeneralGUI Compiling Trouble Pin
doncab17-Sep-03 8:35
doncab17-Sep-03 8:35 
GeneralRe: GUI Compiling Trouble Pin
ZoogieZork17-Sep-03 9:47
ZoogieZork17-Sep-03 9:47 
GeneralRe: GUI Compiling Trouble Pin
doncab17-Sep-03 12:09
doncab17-Sep-03 12:09 
GeneralRe: GUI Compiling Trouble Pin
ZoogieZork17-Sep-03 12:51
ZoogieZork17-Sep-03 12:51 
Generalyour comments on CSocket and CAsyncSocket Pin
R. Thomas17-Sep-03 7:29
R. Thomas17-Sep-03 7:29 
GeneralRe: your comments on CSocket and CAsyncSocket Pin
Rickard Andersson2017-Sep-03 7:42
Rickard Andersson2017-Sep-03 7:42 
GeneralImage::Save Problem! Does anyone know how to solve this puzzle? Thanks a lot! Pin
TeleStar17-Sep-03 7:10
TeleStar17-Sep-03 7:10 
GeneralRe: Image::Save Problem! Does anyone know how to solve this puzzle? Thanks a lot! Pin
Steve S18-Sep-03 1:52
Steve S18-Sep-03 1:52 
GeneralYes, I had used the code on MSDN, but it doesn't work! Pin
TeleStar18-Sep-03 11:21
TeleStar18-Sep-03 11:21 

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.