programmation_socket
Ceci est une ancienne révision du document !
Table des matières
HTTP et HTTPS
Lib pour C a tester: libcurl !
Lien: http://curl.haxx.se/
Exemple avec HTTPS: http://curl.haxx.se/lxr/source/docs/examples/https.c
Commande curl
En ligne de commande on peut utiliser simplement curl
.
Lien: http://curl.netmirror.org/docs/httpscripting.html
Installation:
# aptitude install curl
Exemple:
$ curl http://www.thierry-jaouen.fr
Ou
$ curl -k https://www.thierry-jaouen.fr
Post:
$ curl http://www.thierry-jaouen.fr/cgi-bin/fuckyourself -d "param1=toto¶m2=tata"
Socket C
Non-blocking
Solution pour détecter une connexion qui echoue: http://cr.yp.to/docs/connect.html
programmation_socket.1250604957.txt.gz · Dernière modification : 2009/08/18 14:15 de thierry