iOS Stream Connections

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

  1. Soulstorm macrumors 68000

    Soulstorm

    Joined:
    Feb 1, 2005
    #1
    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

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #2
    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

    Soulstorm

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

    Joined:
    Aug 9, 2009
    Location:
    Brobdingnag
    #4

Share This Page