nsthread - iOS - App needs establishing a session and keep feeding watch dog to keep this session on, which kind technology will be involved? -
condition:
- the app talk device ip host. device has own communication protocol above ip layer (transport layer) in session layer.
- to start talking, app needs establish session several times handshake on session layer.
- the app needs keep feeding watch dog (timer) let device know session still alive.
- all of processes should work without interrupt user interface.
questions:
- which kind technology better involved? nsthread? nsoperaton? or gcd?
- is there other solution can handle job?
Comments
Post a Comment