'Declaration Public Delegate Function TlsInitiator( _ ByVal ClearTextStream As Stream, _ ByVal RemoteAddress As String, _ ByVal RemotePort As Integer _ ) As Stream
'Usage Dim instance As New TlsInitiator(AddressOf HandlerMethod)
public delegate Stream TlsInitiator( Stream ClearTextStream, string RemoteAddress, int RemotePort )
public delegate Stream^ TlsInitiator( Stream^ ClearTextStream, String^ RemoteAddress, int RemotePort )
Parameters
- ClearTextStream
- The cleartext stream over which unencrypted data will be sent and received
- RemoteAddress
- Remote IP address
- RemotePort
- remote Port
Return Value
An encrypted stream following TLS negotiation