Custom mail server-like application?

This is a discussion on Custom mail server-like application? within the Windows Programming forums, part of the Platform Specific Boards category; Hello everyone. I have not done much work with sockets, although I can program with WinSock fairly well. I would ...

  1. #1
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Question Custom mail server-like application?

    Hello everyone. I have not done much work with sockets, although I can program with WinSock fairly well. I would just like to know if I could get "practice", you might say, with sockets like this:

    ------------------------------------------------------------------------------------

    1.) Program a server application, containing the folders for each user in the same folder as the server

    2.) Wait for incoming connections

    3.) Message will look something like this:
    • To: MyUser2
    • From: MyUser1
    • Subject: My Message
    • Message: Testing ... Test, 1, 2, 3 ...


    4.) The server will get the "To: MyUser2" string and put the message in the corresponding user's folder, making the filename in this format: My Message - MyUser1 Where it's the **Subject - FromUser **

    5.) Make a client application

    6.) Client will allow the user to read messages from the server and compose new messages

    ------------------------------------------------------------------------------------

    I just want to know if this would help me at learning sockets more than I already do. If you have any questions/comments, please reply or send me an AOL IM at "Binary 10essee" without the quotes.
    Website(s): http://www16.brinkster.com/trifaze/

    E-mail: trifaze_mattu@lycos.com

    ---------------------------------
    C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
    DirectX Version: 9.0b
    DX SDK: DirectX 8.1 SDK

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,660
    If you are interested in just getting some WinSock practice then consider a project that consists of mostly socket/communications code. Although a mail server/client project is a great allround project in general.

    A simple text-based chat server/client comes to mind...
    Code:
    SyntaxBubble: So how do you like my chat system?
    CodePlug: This thing rocks!
    SyntaxBubble: Darn skippy!
    gg

  3. #3
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Smile Thanks ...

    Thanks for the information, Codeplug. I may do a text-based chat application first.
    Website(s): http://www16.brinkster.com/trifaze/

    E-mail: trifaze_mattu@lycos.com

    ---------------------------------
    C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
    DirectX Version: 9.0b
    DX SDK: DirectX 8.1 SDK

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. c program client server
    By steve1_rm in forum Networking/Device Communication
    Replies: 3
    Last Post: 01-24-2008, 09:33 AM
  2. POP3/IMAP server
    By afogat in forum C++ Programming
    Replies: 3
    Last Post: 11-20-2007, 04:50 AM
  3. Server deadlocks, Nonblocking IO, or Timeout?
    By 0xception in forum C Programming
    Replies: 6
    Last Post: 01-03-2005, 11:49 AM
  4. Custom Server
    By Thantos in forum Networking/Device Communication
    Replies: 1
    Last Post: 08-28-2003, 09:58 PM
  5. database application help.
    By Billy Baroo in forum Linux Programming
    Replies: 1
    Last Post: 09-02-2002, 06:23 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21