Open the server socked using TLS (Transport Layer Security).
Opens the specified port using TLS (Transport Layer Security) and starts listening for incoming connections.
The BOOL return value is TRUE if the function was executed successfully. Evaluate the property Result, in case the return value is FALSE.
State Transition of the Server
Stage |
Description |
---|---|
1 |
Initial state: Idle |
2 |
Function call |
3 |
State: Opening |
4 |
Final state: Listening, otherwise an error is detected |
Input |
Data type |
Valid range |
Description |
---|---|---|---|
i_sInterfaceIP |
STRING(15) |
- |
IP address of the interface to bind to. If null or 0.0.0.0, the server is available on all interfaces. |
i_uiServerPort |
UINT |
1 ... 65535 |
TCP port to listen on. |
i_stTlsSettings |
- |
TLS settings for the connection to be established by the FB_TCPServer2. |
oFB_TCPServer2