all groups > iis smtp nntp > september 2005 >
You're in the

iis smtp nntp

group:

Creating a real basic mail and NNTP server



Creating a real basic mail and NNTP server J.S.
9/1/2005 10:45:58 AM
iis smtp nntp: Folks,

I am trying to learn Visual Studio 2005 nd as a part of the learning process
I would like to undertake a project to create a mail and NNTP server with
just some basic functionality.

Could you point me to any resources which can help in understanding how to
develop such applications with Visual Studio 2005?

Thanks,
J.S.

--

Re: Creating a real basic mail and NNTP server Jeff Henkels
9/1/2005 3:20:00 PM
In an older version of the Platform SDK, there was skeletal code for a POP3
server that you could adapt for SMTP & NNTP protocols. It was
multi-threaded & used Winsock and I/O completion ports.

In the current Platform SDK, look in samples\netds\winsock, especially the
Iocp sample. Also look around some of the free code sites such as
codeproject.com, sourceforge.net and codeguru.com.

[quoted text, click to view]

Re: Creating a real basic mail and NNTP server J.S.
9/1/2005 6:32:11 PM
Thanks, Jeff. I just installed the Windows Server 2003 SDK today. I'll
also look at the sites you mentioned.

--

[quoted text, click to view]

Re: Creating a real basic mail and NNTP server Jeff Henkels
9/2/2005 7:35:03 AM
If you're intending to target Server 2003, you might want to take a look at
the .Net framework -- there are a number of classes that may be useful to
you.

[quoted text, click to view]

Re: Creating a real basic mail and NNTP server J.S.
9/3/2005 4:08:06 AM
Thanks for your advice!

--

[quoted text, click to view]

Re: Creating a real basic mail and NNTP server Chris Priede
9/4/2005 4:22:32 AM
Hi,

[quoted text, click to view]

Your first decision probably should be whether you want to utilize the
features of IIS, which provides some support for all of the above -- or
whether you want to implement the protocols on your own. The latter would
make it much more of a challenge and learning experience, although perhaps
not the best kind, if your objective is learning Visual Studio.

If you go that route, the protocols are documented in IETF RFCs, which you
can find here:

http://www.faqs.org/rfcs/

Search for the specific protocol you are interested in (sounds like SMTP,
POP3 and/or IMAP, NNTP).


--
Chris Priede (priede@panix.com)

AddThis Social Bookmark Button