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

C / C++ / MFC

 
QuestionExtracing data from word document to notepad or edit box Pin
Ankush Mehta15-Nov-05 19:41
Ankush Mehta15-Nov-05 19:41 
AnswerRe: Extracing data from word document to notepad or edit box Pin
Rage15-Nov-05 21:06
professionalRage15-Nov-05 21:06 
AnswerRe: Extracing data from word document to notepad or edit box Pin
Barm15-Nov-05 21:20
Barm15-Nov-05 21:20 
AnswerRe: Extracing data from word document to notepad or edit box Pin
grigsoft15-Nov-05 21:54
grigsoft15-Nov-05 21:54 
QuestionCompiler warning Pin
Raza568015-Nov-05 18:39
Raza568015-Nov-05 18:39 
AnswerRe: Compiler warning Pin
chamilkab15-Nov-05 20:43
chamilkab15-Nov-05 20:43 
AnswerRe: Compiler warning Pin
Rage15-Nov-05 21:18
professionalRage15-Nov-05 21:18 
Questionserver, domain, ip, what are they? Pin
includeh1015-Nov-05 18:37
includeh1015-Nov-05 18:37 
I have a domain (followings are not real info):
-------------------------------
domain name: mydomain.com
sub-domain name: www.mydomain.com
ip address: 111.222.333.444
server name: abc.myserver.net
-------------------------------

now I use CFtpConnection to read data from it:
I get exact the same contents with domain name, sub-domain name, ip address and server name.

========================================
Now I use
gethostbyaddr([param is ip addess]), or gethostbyname([param is server name: "abc.myserver.net"])
result: the host name is server name "abc.myserver.net" rather than my domain name.
(other 2 get my domain name).

Q:
is it possible to get my domain name by pass ip addess or server name as param to some function?
or: how to get domain name if only know server name or ip address and user info (name and pswd)?

I guess it is possible because I get the same contents of my domain. but how?

thx








includeh10
AnswerRe: server, domain, ip, what are they? Pin
sunit515-Nov-05 23:38
sunit515-Nov-05 23:38 
QuestionDLL Concept Question Pin
LighthouseJ15-Nov-05 17:42
LighthouseJ15-Nov-05 17:42 
QuestionHow to write a transfer file with UDP/IP? Pin
001141115-Nov-05 16:35
001141115-Nov-05 16:35 
AnswerRe: How to write a transfer file with UDP/IP? Pin
sunit515-Nov-05 23:43
sunit515-Nov-05 23:43 
AnswerRe: How to write a transfer file with UDP/IP? Pin
001141116-Nov-05 15:27
001141116-Nov-05 15:27 
QuestionOpenGL - Axis Direction Pin
Swinefeaster15-Nov-05 15:31
Swinefeaster15-Nov-05 15:31 
QuestionStill having problems with Dir. Copying Pin
bobfilar15-Nov-05 14:58
bobfilar15-Nov-05 14:58 
AnswerRe: Still having problems with Dir. Copying Pin
Cool Ju15-Nov-05 17:48
Cool Ju15-Nov-05 17:48 
AnswerRe: Still having problems with Dir. Copying Pin
David Crow16-Nov-05 3:41
David Crow16-Nov-05 3:41 
Questionodd error on web services... Pin
(Steven Hicks)n+115-Nov-05 13:16
(Steven Hicks)n+115-Nov-05 13:16 
AnswerRe: odd error on web services... Pin
Christian Graus15-Nov-05 15:05
protectorChristian Graus15-Nov-05 15:05 
GeneralRe: odd error on web services... Pin
(Steven Hicks)n+115-Nov-05 15:09
(Steven Hicks)n+115-Nov-05 15:09 
GeneralRe: odd error on web services... Pin
Christian Graus15-Nov-05 15:21
protectorChristian Graus15-Nov-05 15:21 
Questionms outlook Pin
pnpfriend15-Nov-05 11:37
pnpfriend15-Nov-05 11:37 
Question2 question for you pro's Pin
talvezu15-Nov-05 11:17
talvezu15-Nov-05 11:17 
AnswerRe: 2 question for you pro's Pin
Christian Graus15-Nov-05 13:32
protectorChristian Graus15-Nov-05 13:32 
Generalto Christian Pin
talvezu15-Nov-05 23:35
talvezu15-Nov-05 23:35 

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.