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.
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.