Quantcast

Java DTLS Example for 1.56 API

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Java DTLS Example for 1.56 API

Scheka
This post has NOT been accepted by the mailing list yet.
This post was updated on .
Hello,

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 java.net.DatagramSocket.setSoTimeout(DatagramSocket.java:901)
        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)
        at ew.scheka.smepyfors.dtlsserver.DTLSServerTest.main(DTLSServerTest.java:55)

Thank You
 Eugen
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Java DTLS Example for 1.56 API

Scheka
This post has NOT been accepted by the mailing list yet.
Hello can someone help me by my issue?
Thank You
 Eugen
Loading...