Change Http port destination

Hi,

I would want to send http request but not in the port 80 usually used.
Is somebody know how to do this ?

I try to put at this end of the url the syntax " :number port" it didn’t work.
I try to use the option in httpclientcreateopt :WIP_COPT_HTTP_PROXY_PORT, numberPortvariable , it allready works … but on port 80 .

I haven’t other idea.

Thank you for the help.

Try:

wip_getFileOpts(socket,"http://nameofserver.com:8080/index.html",evh,NULL,WIP_COPT_HTTP_HEADER,"Accept",
    "text/html",WIP_COPT_END);

8080 in this case is the new http port.
I don’t know is this works, but it schould.