At the moment there seems not tob e an implementation of the Http protocol for C#. I want to access a C# Server from the iPhone. Seems like a strange combination but should be trivial with thrift - right? But it seems that each side has its problems so I have to find a proper solution now. Seems that the binary protocol is the only way to do that at the moment if I can somehow overcome the iPhone compilation problem. Anyone else having experience with using thrift with the iPhone sdk?
Mit freundlichen Grüßen Daniel Kreuzhofer Software Development Consultant Eugen-Roth-Weg 8 85551 Kirchheim [email protected] http://www.kreuzhofer.de Mobil: 0160-94914133 -----Original Message----- From: Fred Potter [mailto:[email protected]] Sent: Tuesday, July 07, 2009 10:25 AM To: [email protected] Subject: Re: iPhone SDK compiling issues Hey Daniel, Are you using TSocketClient or THttpClient as your transport? I know TSocketClient throws compile warnings as-is, but since I use HTTP for transport, I just blew away that class and moved on. Here's someone over on StackOverflow talking about the specific issue and solutions if you want to fix it: http://stackoverflow.com/questions/806116/is-there-anything-like-getstreamstohost-on-real-iphone-device Best, Fred On Tue, Jul 7, 2009 at 12:51 AM, [email protected] <[email protected]>wrote: > Hi, > > did anyone yet compile a client version of thrift with the iPhone SDK. I > tried but it only worked when compiling with the emulator SDK. As soon as I > switch to the device SDK the thrift library does not compile. Is there > anyone having a working example of using thrift on the iPhone? > > Regards > > Daniel
