SOPL gate, GET_SOCKET_FROM_POOL function
The GET_SOCKET_FROM_POOL function retrieves an opened client HTTP connection from a pool to supply to a task.
Input Parameters
- SOCKET_POOL_TOKEN
- The unique identifier for the pool of opened client HTTP connections.
Output Parameters
- SWITCH_TCB
- Optional parameter SWITCH_TCB added:
- A binary parameter that specifies whether the socket domain should switch to the socket TCB.
- Values of the parameter are:
- YES
- NO
- REASON
- The following values are returned when RESPONSE is INVALID:
- INVALID_TOKEN
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- SOCKET_TOKEN
- A unique identifier for an individual client HTTP connection.