Have you tried the tests? If you look in trunk/test/csharp you should see more information. I am not really sure what you are trying to accomplish but aren't able to.
See http://svn.apache.org/viewvc?view=rev&revision=665633 It provides both a server and a client. Craig On Fri, Nov 14, 2008 at 7:00 PM, Stuart Johnson <[EMAIL PROTECTED]> wrote: > Does anyone know how to Serialize/Deserialize thrift data in C#? I have > played around with TStreamTransport for a couple of days now, and I dont > think it's going to be suitable. I want each socket connection to run > asynchronously, without having to spawn hundreds or thousands of threads. > Easy enough to do, except the C# thrift code is quite fragmented, and hard > to know where to start. > > > > > Bryan Duxbury wrote: > >> Then you're looking for whatever the equivalent of >> TSerializer/TDeserializer is in C#. You could also possibly use the >> equivalent of TIOStreamTransport, if there is one. >> >> On Nov 13, 2008, at 12:04 PM, Stuart Johnson wrote: >> >> I already have tried & tested C# code to create a socket server, that >>> will run 1000's of incoming connections, and take care of authentication, >>> time-outs etc. >>> I want to rip out the proprietary protocol that is being used, and tie it >>> into thrift. I cant quite get my head around the class library. Could do >>> with a block diagram to understand the hierarchy. >>> >>> >>> Ted Dunning wrote: >>> >>>> Ahhh.... >>>> >>>> That makes much more sense as a question. >>>> >>>> On Thu, Nov 13, 2008 at 10:40 AM, Stuart Johnson <[EMAIL PROTECTED]<mailto: >>>> [EMAIL PROTECTED]>> wrote: >>>> >>>> The examples show how to set up a TCP connection, but not how to >>>> attach the transport to an existing socket. >>>> >>>> >>>> >>> >> >
