Hi,

I'm wondering how to implement a non-blocking client which uses TLS client
on C#

Surfing on your code and tests I see to having a non-blocking TLS the
constructor doesn't need a Stream.

Basically I could get it with this (sample code)

var secureRandom = new SecureRandom();
var pskIdentity = new BasicTlsPskIdentity(psk_identity, psk);
var client = new PskTlsClientProxy(pskIdentity);
clientProtocol.Connect(client);


Without specifying a TcpClient and its stream by GetStream() how can I pass
hostname and port to clientProtocol?

Thanks


-- 
Ivan Zanolla
http://about.me/ivanzanolla

Reply via email to