pdcomm_opcua_server_close
Function
Stops the server: closes the listener and aborts every channel.
int32_t pdcomm_opcua_server_close(pdcomm_opcua_handle server)No shutdown notification is sent to clients. Buffers already returned stay valid; the handle must still be released.
Parameters
| Name | Description |
|---|---|
server | Server handle. |
Returns
#PDCOMM_OPCUA_OK, #PDCOMM_OPCUA_CLOSED when already closed, #PDCOMM_OPCUA_BUSY, #PDCOMM_OPCUA_INVALID_HANDLE or #PDCOMM_OPCUA_POISONED.