PQsocket Function

public function PQsocket(conn)

Obtain the file descriptor number of the connection socket to the server.

A valid descriptor will be greater than or equal to 0; a result of -1 indicates that no server connection is currently open. (This will not change during normal operation, but could change during connection set up or reset.)

cf. PostgreSQL Documentation

Arguments

Type IntentOptional Attributes Name
type(c_ptr), intent(in) :: conn

Return Value integer(kind=c_int)


Contents