07/15/2024
OfflineUA Part 6: Mappings - 7.1.2.3 Hello Message
Servers shall maintain at least one open socket without an active Session with each Client it is configured to connect to.
Once a SecureChannel is established, the Server shall create a new socket if there is not already one without an active SecureChannel.
If the SecureChannel is closed, the Server shall create a new socket if there is not already one without an active SecureChannel.
Why does the server need second socket without an active secure channel?
Wen connection is lost, the client closes the first socket, then switches to the second but if connection is still lost the client can close the second socket and wait for the reverse hello message on a new socket.
When connection is back again the server has no clue that 2 sockets has been closed cause it is not a tcp event.
05/30/2017
OfflineWhen using reverse connect, a client can only establish a session if the server has created a socket.
This is a chicken and egg problem where a client would like to connect to the server but has to wait for it to create a socket and the client has no way to tell the server to create socket.
So the server always has one idle socket just in case a client needs to connect.
1 Guest(s)


Log In

Usage Policy