cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Q. about LibCurl and ports

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 10 Feb 2012 22:54:48 +0100 (CET)

On Fri, 10 Feb 2012, Roger Tremblay wrote:

> The question is, if a user does not configure the handle with CURLOPT_PORT,
> will LibCurl determine automatically the typical port to connect to, based
> on the protocol specified by the URL parameter?

Yes it does.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-02-10