Yeah, I can confirm TSocketServer does work on iOS.  In case it helps, here
are a few relevant lines of code from an app where it is instantiated:


    VideoSubscriptionProcessor *videoProcessor = [[
VideoSubscriptionProcessor alloc] initWithVideoSubscription:self];

    TSharedProcessorFactory *processorFactory = [[TSharedProcessorFactory
alloc] initWithSharedProcessor:videoProcessor];

    TSocketServer *socketServer = [[TSocketServer alloc] initWithPort:9095
protocolFactory:[TBinaryProtocolFactory sharedFactory] processorFactory
:processorFactory];

Paul

On Tue, Oct 11, 2011 at 8:01 AM, Evgeni Petrov <[email protected]>wrote:

> Hello everyone,
>
> I was fiddling with Thrift, evaluating the possibility of replacing network
> code we have with ProtoBufs.
> The code connects iOS app with Silverlight app, we seem to have everything
> correctly but the TSocketServer never accepts connection. We checked with
> another socket code (
> http://deusty.blogspot.com/2010/11/introducing-gcd-based-asyncsocket.html)
> and we received connection and read data (for the RPC call).
>
> So in short is TSocketServer  working on iOS?
>
> Evgeni

Reply via email to