Update of /cvsroot/dnsmail/dnsmail
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv31965/dnsmail
Modified Files:
Erle.DnsMail.csproj Erle.DnsMail.csproj.user
UnsafeNativeMethods.cs
Log Message:
- OpensslStream class removed and new SmtpStream class derived from NetworkStream added.
- New class handles normal and ssl connections automatically.
- Socket and OpenSslStream removed from DnsMail client. New SmtpStream member added.
Index: Erle.DnsMail.csproj
===================================================================
RCS file: /cvsroot/dnsmail/dnsmail/Erle.DnsMail.csproj,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Erle.DnsMail.csproj 22 May 2006 09:54:56 -0000 1.3
--- Erle.DnsMail.csproj 4 Aug 2006 12:53:36 -0000 1.4
***************
*** 110,113 ****
--- 110,118 ----
/>
<File
+ RelPath = "SmtpStream.cs"
+ SubType = "Code"
+ BuildAction = "Compile"
+ />
+ <File
RelPath = "UnsafeNativeMethods.cs"
SubType = "Code"
***************
*** 140,148 ****
/>
<File
- RelPath = "DnsMail\OpenSslStream.cs"
- SubType = "Code"
- BuildAction = "Compile"
- />
- <File
RelPath = "DnsMail\Recipient.cs"
SubType = "Code"
--- 145,148 ----
Index: UnsafeNativeMethods.cs
===================================================================
RCS file: /cvsroot/dnsmail/dnsmail/UnsafeNativeMethods.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** UnsafeNativeMethods.cs 22 May 2006 10:27:56 -0000 1.3
--- UnsafeNativeMethods.cs 4 Aug 2006 12:53:36 -0000 1.4
***************
*** 206,209 ****
--- 206,210 ----
[DllImport(LIB_SSL)] internal static extern int SSL_read(IntPtr ssl, byte* buf, int num);
[DllImport(LIB_SSL)] internal static extern int SSL_write(IntPtr ssl, byte* buf, int num);
+ [DllImport(LIB_SSL)] internal static extern int SSL_peek(IntPtr ssl, byte* buf, int num);
[DllImport(LIB_SSL)] internal static extern IntPtr SSL_get_peer_certificate(IntPtr ssl);
[DllImport(LIB_SSL)] internal static extern int SSL_get_error(IntPtr ssl, int ret);
Index: Erle.DnsMail.csproj.user
===================================================================
RCS file: /cvsroot/dnsmail/dnsmail/Erle.DnsMail.csproj.user,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Erle.DnsMail.csproj.user 22 May 2006 09:56:39 -0000 1.2
--- Erle.DnsMail.csproj.user 4 Aug 2006 12:53:36 -0000 1.3
***************
*** 46,47 ****
--- 46,48 ----
</CSHARP>
</VisualStudioProject>
+
|