Io Reference







Networking   /   SecureSocket   /   SecureSocket





 
 
 



ValidationFail

Returns ValidationFail attribute as a number.
ValidationOkay

Returns ValidationOkay attribute as a number.
asyncAccept

Accept a connection asynchronously.
asyncConnectBIO

Performs asyncConnectBIO.
asyncConnectSSL

Performs asyncConnectSSL.
asyncStreamRead

Read available data and return it.
asyncUdpRead

?
asyncUdpServerRead

?
asyncWrite(aSeq)

Writes aSeq to the socket. Returns self.
descriptorId

Returns descriptorId.
getSocketReadLowWaterMark

Returns ReadLowWaterMark attribute.
getSocketWriteLowWaterMark

Returns WriteLowWaterMark attribute.
isConnected

Returns true if socket is connected, false otherwise.
isDatagram

Returns isDatagram attribute.
isOpen

Returns true if socket is open, false otherwise.
rawCertificate

Returns rawCertificate.
rawPeerCertificate

Returns rawPeerCertificate.
rawValidate

Performs rawValidate.
rbioReady

Returns rbioReady attribute.
setSocketReadBufferSize(numberOfBytes)

Sets read buffer size. Returns self.
setSocketReadLowWaterMark(numberOfBytes)

Sets read low water mark. Returns self.
setSocketWriteBufferSize(numberOfBytes)

Sets write buffer size. Returns self.
setSocketWriteLowWaterMark(numberOfBytes)

Sets write low water mark. Returns self.
shutdown

close the socket connection. Returns self.
supportsDTLS

Returns true if server supports DTLS, false otherwise.
wantsRead

Returns wantsRead attribute.
wantsWrite

Returns IoSecureSocket_wantsWrite attribute.