Org.Mentalis.Security.Ssl.SecureSocket.OnConnect C# (CSharp) Method

OnConnect() private method

Called then the SecureSocket connects to the remote host.
private OnConnect ( IAsyncResult ar ) : void
ar IAsyncResult An instance.
return void
		private void OnConnect(IAsyncResult ar) {
			try {
				base.EndConnect(ar);
				m_Controller = new SocketController(this, base.InternalSocket, m_Options);
			} catch (Exception e) {
				m_ConnectResult.AsyncException = e;
			}
			m_ConnectResult.Notify();
		}
		/// <summary>