iOS Stream Connections

Discussion in 'iOS Programming' started by Soulstorm, Jul 6, 2011.

  1. Soulstorm macrumors 68000


    Feb 1, 2005
    I want to setup a connection from the device to a server using an authentication mechanism. The connection will remain open after authentication for subsequent requests without requiring the user entering the password again.

    While open, the app and the server will exchange data, according to actions of the user.

    Every 60 secs, the application will send a byte to the server, which will serve as a "keep alive byte", in order for the server to know that the application is still open. If the app fails to send such request, the server will close the connection.

    What I am asking for is some guidance:
    -- What libraries should I use?
    -- Are there any 3rd party libraries in ObjC/C++ that I could use?
    -- Can you provide me with any general methodology guidance/notes?

    Thank you in advance.
  2. jnoxx macrumors 65816


    Dec 29, 2010
    Aartselaar // Antwerp // Belgium
    C++ maybe OpenFrameworks, can't guarantee. i'm trying to get a grip on them, they aren't easy to implement imo. :)
  3. Soulstorm thread starter macrumors 68000


    Feb 1, 2005
    Does anyone know of any good 3rd party libraries for asynchronous server connections?
  4. chown33 macrumors 604

    Aug 9, 2009

Share This Page