Gets a connection from the pool.
The poolId must be a valid pool identifier. Returns a connection ID on success, 0 on failure.
poolId
int poolGetConnection(int poolId);