Seppo Takalo
5459a7b5c9
Add license headers into TLSSocket files
2018-11-20 11:47:29 +02:00
Seppo Takalo
0f5cec3ebc
Include TLSSocket and DTLSSocket in Doxygen
2018-11-20 11:47:28 +02:00
Seppo Takalo
bdc355f873
Astyle fixes
2018-11-19 15:31:31 +02:00
Seppo Takalo
6192ed1480
Compare the intermediate timestamps as well
2018-11-19 15:19:50 +02:00
Seppo Takalo
46c46019bc
Refactor DTLSSocket to use Socket::getpeername()
...
Also, let DTLSSocket to be a friend of InternetSocket so it can do
the name resolution from its _stack.
+ Some whitespace fixes
2018-11-19 15:19:49 +02:00
Seppo Takalo
d22adbdb26
Implement DTLSSocketWrapper and fix non-blocking connections on TLSSocket
...
DTLSSocketWrapper is equivalent of TLSSocketWrapper but uses datagram mode
and timers for handling Mbed TLS timeouts.
Non-blocking connections were not working earlier, now fixed for both
secure socket modes.
2018-11-19 15:19:49 +02:00