Here an other situation where I think is not normal behavior.
In the minimalist server we used, after connection established:
checking connection.connected gives false. Expected would be true
trying to send a message to the client fails with DtlsException: Sending failed: Not connected!
I realized that connection.connected passes to true only after connection.listen has been called once, so when a message from the client has been received.
So the server cannot send a message before receiving a first message from the client.
Hello there,
Hope the summer was not toooo hot :-)
Here an other situation where I think is not normal behavior.
In the minimalist server we used, after connection established:
connection.connected
gives false. Expected would be trueDtlsException: Sending failed: Not connected!
I realized that
connection.connected
passes to true only afterconnection.listen
has been called once, so when a message from the client has been received.So the server cannot send a message before receiving a first message from the client.
Is this a desired behavior ?
Thank you in advance for your answer.