Bonjour,

Dans ce code:
https://github.com/alphaonex86/Catch...l/main.cpp#L56
La 1ere ligne marche, pas la 2eme.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
PGconn *conn=PQconnectStart("dbname=catchchallenger user=root");
PGconn *conn=PQconnectStart("dbname=catchchallenger host=localhost user=root");
Epoll reçoit un EPOLLPRI, ça reste en CONNECTION_STARTED.
La commande psql -h 127.0.0.1 marche bien. Pas de firewall, port côté serveur bien en écoute.

Cordialement,