nsthread - iOS - App needs establishing a session and keep feeding watch dog to keep this session on, which kind technology will be involved? -


condition:

  1. the app talk device ip host. device has own communication protocol above ip layer (transport layer) in session layer.
  2. to start talking, app needs establish session several times handshake on session layer.
  3. the app needs keep feeding watch dog (timer) let device know session still alive.
  4. all of processes should work without interrupt user interface.

questions:

  1. which kind technology better involved? nsthread? nsoperaton? or gcd?
  2. is there other solution can handle job?


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -