curl-library
TCP port# for HTTP
From: ABULIUS, MUGUR (MUGUR) <mugur.abulius_at_alcatel-lucent.com>
Date: Wed, 7 Nov 2012 16:56:59 +0100
Date: Wed, 7 Nov 2012 16:56:59 +0100
Hello,
I am new a libcurl programmer and I have a simple question about the example at: http://curl.haxx.se/libcurl/c/simple.html.
1) Which TCP port# is used by the HTTP request in this example?
2) Is this TCP port# coming from "/etc/services"?
2) There is any way to specify an external parameter (e.g.. environment variables or configuration file) to allow 2 different running instances of this same "simple.c" program to use different TCP ports for the HTTP request?
Best Regards
Mugur
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-11-07