Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Preferred way of communicating with a server?

Preferred way of communicating with a server?

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Preferred way of communicating with a server?

Postby leecho0 » Tue Aug 04, 2009 1:54 am

hi, I'm trying to build a custom im like app, where the app needs to communicate with a server and exchange data, though these exchanges are very infrequent and only pass a little bit of information back and forth.

What would be the preferred method of communication? sockets / http ?

Also what options do I have for insuring that the request is actually from an android user?

Thanks in advanced =D.
leecho0
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Aug 04, 2009 1:24 am

Top

Postby Luki » Thu Aug 06, 2009 1:45 pm

Hi
Well, I think the easiest way to implement is with http. If you need high performance, implementing it with sockets has less overhead I think. But if data exchange is infrequent, I think http is the best choice.

About the authentication thing I don't know.

Cheers
Luki
Developer
Developer
 
Posts: 32
Joined: Fri Jul 24, 2009 12:59 pm

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 2 guests