Guidance for a cross-platform project involving asynchronous server connections

Discussion in 'iOS Programming' started by Soulstorm, Jun 25, 2011.

  1. Soulstorm macrumors 68000


    Feb 1, 2005
    So we were offered a job yesterday, which involved developing a mobile app targeting multiple platforms. They need the code to be as cross-platform as possible, so I think that C++ is the way to go as far as the infrastructure is concerned, and then we write wrappers in other C-like languages (like Objective - C++) in order to implement the GUI in each platform.

    The application will communicate with an application server which in turn is connected to a database, which is already setup to do mail forwarding. We, as a team, can't make modifications in the way things are working in the server, we can only request for a feature to be implemented.

    Their server, as it stands now, is configured to forward mails into the users' registered mails. So, instead of simply forwarding mails to other mail servers to end users, we will have to write something like a native mail client, which will support fetching data, deleting mails from the main server, and pretty much any basic function of a mail client.

    The information will be sent and received without using any encryption.

    Areas to consider:
    -- Multithreading
    -- Background tasking (app must be working on the background)
    -- Mail reading / fetching data such as images later (don't download images instantly. Do so only at request from the user)
    -- Connection to servers.

    So, what I am asking is for some guidance in the form of some open source C++ libraries and methods that may be used for the areas I mentioned before. I believe that BSD sockets are the way to go when making connections, but are we obliged to use such primitive functions?

    If not possible, I would surely could use any info about iOS specific frameworks that can be used for any of these areas I mentioned.

    Any help would be very appreciated.
  2. chown33 macrumors 604

    Aug 9, 2009
    Sailing beyond the sunset

    Google search terms: imap library ios

    Example search result:
  3. Sykte macrumors regular

    Aug 26, 2010
    For what it's worth, a friend of mine swears by the mono project.

Share This Page