- openvoid open() 
- closevoid close() 
- peekbool peek() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- readsize_t read(ubyte[] buf) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- writevoid write(ubyte[] buf) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- writeSomesize_t writeSome(ubyte[] buf) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- sendTimeoutvoid sendTimeout(Duration value) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- recvTimeoutvoid recvTimeout(Duration value) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- maxRecvRetriesushort maxRecvRetries() 
- void maxRecvRetries(ushort value) 
- DEFAULT_MAX_RECV_RETRIESenum DEFAULT_MAX_RECV_RETRIES; 
- Maximum number of retries for receiving from socket on read() in case of
EAGAIN/EINTR. 
- setSocketOptsvoid setSocketOpts() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- setTimeoutvoid setTimeout(SocketOption type, Duration value) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- maxRecvRetries_ushort maxRecvRetries_; 
- Maximum number of recv() retries. 
SSL encrypted socket implementation using OpenSSL.
Note: On Posix systems which do not have the BSD-specific SO_NOSIGPIPE flag, you might want to ignore the SIGPIPE signal, as OpenSSL might try to write to a closed socket if the peer disconnects abruptly: