Urgent!!! Sockets or Http?

Login to reply to this topic.
Wed, 2004-12-01 08:20
Joined: 2004-11-22
Forum posts: 4
Hi All,

I m developing a module wherein i have to show a resource (text/img/audio/video) located at a server (eg. www.myserver.com). In this case for the purpose of connectivity shud i use the Socket api or the HTTP api.

Eagerly awating for some guidance on it.

Thanking in Advance,

-- Gaurav.

 Huh:

Wed, 2004-12-01 09:13
Joined: 2004-01-15
Forum posts: 49
Urgent!!! Sockets or Http?
If you are working on the older S60 platform (pre sym 7.0) then I don't think there is any http stack, you will have to work with sockets. Anyway, to put it simply using the http api will be simpler if there is one.

Ariz

Ariz M. Kohli

Wed, 2004-12-01 09:41
Joined: 2004-11-22
Forum posts: 4
Urgent!!! Sockets or Http?
Thanx Ariz.

As far the platform is concerned, right now i m fouced on S602.0 and S602.1 (i.e symbian 7.0s). So in this case Http would be a better soln i think. Do send me ur comments.

-- Gaurav.
Wed, 2004-12-01 09:49
Joined: 2004-01-15
Forum posts: 49
Urgent!!! Sockets or Http?
Yup, what you want to achieve looks simple enough so there's probably no need to delve into the lower level with sockets, just use the http api.

We have never used the http api ourselves so can't give you any pointers on that. All our apps need to be backward compatible so it doesn't make sense to have 2 code bases, we have our own http stack which we reuse for all devices.

Ariz

Ariz M. Kohli

  • Login to reply to this topic.