Hello,
In this code:
https://github.com/alphaonex86/CatchChallenger/blob/master/tools/epoll-server/epoll-psql/main.cpp#L56
The first line work, not the second
[CODE]PGconn *conn=PQconnectStart("dbname=catchchallenger user=root");
PGconn *conn=PQconnectStart("dbname=catchchallenger host=localhost user=root");[/CODE]
Epoll get an EPOLLPRI, postgresql keep with CONNECTION_STARTED.
The command psql -h 127.0.0.1 work well. No firewall, server well listen.
Cheers,
--
alpha_one_x86 <alpha_one_x86(at)first-world(dot)info>
Main developer of Ultracopier, Esourcing and server management
IT, OS, technologies, security and business department