Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
DTLS::Socket::Client
Inherits
DTLS::Socket
<
IO::Buffered
<
IO
<
Reference
<
Object
Constructors
new
(io :
UDPSocket
, context :
Context::Client
=
Context::Client
.new(
LibSSL
.dtls_method), sync_close :
Bool
= false, hostname :
String
|
Nil
= nil)
Class methods
open
(io, context :
Context::Client
=
Context::Client
.new(
LibSSL
.dtls_method), sync_close :
Bool
= false, hostname :
String
|
Nil
= nil, &)