Jump to main content

##

# TCPIP_HTTP_CurrentConnectionHandleGet Function

## C

    HTTP_CONN_HANDLE TCPIP_HTTP_CurrentConnectionHandleGet(
        int connIx
    );

## Description

This function will return the connection handle of the requested HTTP connection index.

## Preconditions

None.

## Parameters

Parameters | Description
--- | ---
connIx | The HTTP connection ix.

## Returns

- A valid connection handle if the connection index is valid.
- 0 if there is no such connection.

## Remarks

None.

## Example

    HTTP_CONN_HANDLE connHandle;

    connHandle = TCPIP_HTTP_CurrentConnectionHandleGet(0);