This post has NOT been accepted by the mailing list yet.
This post was updated on .
Is there an Java DTLS Example available, which works with the 1.56 API version?
Because i have tried the exists DTLSServerTest and DTLSClientTest example, but this is doesnt work by me.
I get the following Error:
Exception in thread "main" java.net.SocketException: Socket is closed
at org.bouncycastle.tls.UDPTransport.receive(Unknown Source)
at org.bouncycastle.tls.DTLSRecordLayer.receiveRecord(Unknown Source)
at org.bouncycastle.tls.DTLSRecordLayer.receive(Unknown Source)
at org.bouncycastle.tls.DTLSTransport.receive(Unknown Source)