HttpSendRequest returns "internet name not resolved". HELP !

    Date: 10/23/05 (C Sharp)    Keywords: microsoft

    Hi ,
    Sorry for double post ( cpp community) .
    if anybody worked with wininet - you probably know what to do .
    Help me, please !

    I try to connect to the some server and to reseive some data .
    All what I do - is standart windows HTTP commands (wininet .dll ):
    1) internetOpen()
    2)InternetConnect()
    3)HttpOpenRequest()
    4)HttpSendRequest()

    HttpSendRequest function returns error "internet name not resolved" .
    In is happens in case I connect to the internet InternetConnect() , and host name parametr
    looks like name and not IP .
    In case internet adress has look and feel of IP adress - HttpSendRequest ()
    executes with NO error .

    What can I do with that ? I MUST work with names !
    Is it any way to convert the name to IP ?
    HELP me , please.

    P.S.
    I work under
    Microsoft eMbeded Visual c++

    Source: http://www.livejournal.com/community/csharp/38961.html

« Is there any LPT API? || Programming Style »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home