PetscErrorCode PetscHTTPSConnect(const char host[],int port,SSL_CTX *ctx,int *sock,SSL **ssl)
host | - the name of the machine hosting the HTTPS server | |
port | - the port number where the server is hosting, usually 443 | |
ctx | - value obtained with PetscSSLInitializeContext() |
sock | - socket to connect | |
ssl | - the argument passed to PetscHTTPSRequest() |