network question

Discussion in 'iOS Programming' started by jagatnibas, Sep 5, 2008.

  1. macrumors regular

    Joined:
    Jul 28, 2008
    #1
    Hi All,
    I was going through documents, I was wondering if there would be some way of running a server socket in the background [command line] always. I mean I need to have my UI apps connecting to this server and get some data. Is it possible ?

    If it is not possible can anybody please direct me to an authentic link to convince my boss ?

    regards
    Jagat
     
  2. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    You application may not launch any other executable code or have any code run in the background. There are no exceptions or workarounds.
     
  3. macrumors member

    Joined:
    Jul 28, 2008
    #3
    You mean a server running on the iPhone right ? No, this is not possible because you can't run anything in the background. You can check the video "Key Practices for iPhone application development" (around 4:30) where it is clearly stated that only one 3rd party app runs at any given point in time.
     
  4. thread starter macrumors regular

    Joined:
    Jul 28, 2008
    #4
    Thanks

    Thanks Robbie and Taum,

    Interesting that I am unable to open this videos even though i login with the username and password which has subscribed for a developer account

    is any other special privilege required to play those files ?

    regards
    Jagat
     
  5. macrumors member

    Joined:
    Jul 28, 2008
    #5
    No, the link should launch iTunes and download the video.
     

Share This Page