Is it possible to use xcode and objectiveC to develop a daemon that does the above functionality ?
-which one is prefereable ?
Not the case.
As I have already mentioned that I have developed an iPhone application using iPHone SDK, which is only possible using XCode IDE and ObjectiveC language, there is no way that I am under the impressionj that both are different choices.
Okay -- sorry about that. I just got that impression, and wanted to make sure. Anyways, I don't know if this will be helpful to you or not, but I did a little searching for this, and here's what I came up with:
Is it possible to use xcode and objectiveC to develop a daemon that does the above functionality ?
-or will I have to go for some other language ?
Well, like I've said before, I don't know enough about the specific functionality of the type of app you are building to say for sure what Xcode and Objective-C can or can not do in terms of that functionality. However, daemons can be built using Xcode, and you will want to use one of the Command-Line Utility templates to do it. If you want to write it in C, then choose the Standard Tool template, and if you want to write it in C/Objective-C, then choose the Foundation Tool template.
-which one is prefereable ?
still not sure what you mean by this
-Where can I get a basic daemon application sample project on which I can write further code ?
Someone asked a similar question that I found Googling -- don't know if it will be helpful to you or not, but wanted to throw it out there. Here's the link:
http://lists.apple.com/archives/xcode-users/2006/Jul/msg00132.html
They also give this link on the page above. I didn't find anything that seemed useful here, but maybe you can.
http://www.linuxprofilm.com/articles/linux-daemon-howto.html
-is it possible to get an http connection code sample ?
not able to be of any help here -- sorry.
Can someone help me to make sure whether it is possible to develop the above app using XCode IDE and Objective C language, which seems to be the officially preffered solution for development from Apple.
Again, let someone who is more versed in all this answer that question more exactly, but I would say the answer is most likely yes. I can't imagine that Xcode wouldn't be able to handle it.
Anyways, hope there was something useful in this. Best of luck with your project.