SecureSocket <error: an exception of type: {System.NullReferenceException} occurred
by Ziwei [ziweizhou at hotmail dot com] posted on 2004/10/11
Hi
When I create to create a SecureSocket in VB.Net using --
Dim Connection As New Org.Mentalis.Security.Ssl.SecureSocket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp, options)
the variable "Available" got <error: an exception of type: {System.NullReferenceException} occurred>
any idea?
by Pieter Philippaerts [Pieter at mentalis dot org] posted on 2004/11/19
Your socket must be connected before you call the Available property.