JKRhb / dtls2

A DTLS library for Dart based on OpenSSL.
MIT License
3 stars 0 forks source link

After successfull connection, connection.connected state is still false #96

Open Ifilehk opened 11 months ago

Ifilehk commented 11 months ago

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:

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.

Is this a desired behavior ?

Thank you in advance for your answer.