You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Ubdfu <ub...@student.kit.edu> on 2014/01/29 00:34:00 UTC

Cpp Server Js Client

Hello,

I'm totally new to Apache Thrift so please excuse any inconvenience.
Here is what I tried so far to get the Cpp Server/Js Client working:
http://nopaste.info/4fe189b4d6.html
The code is from the tutorial section, but there is only a Java server 
in the js example and I couldn't find any other example doing the same.
When I'm calling client.ping() the executing waits at the method 
Thrift.transport.prototype.flush in line xreq.send(this.send_buf) until 
I shutdown the server.
Can you give me any hints where I could start getting this to work?

Re: Cpp Server Js Client

Posted by Henrique Mendonça <he...@apache.org>.
Hi
Your code looks good, did you get it to work?
Oneway should also work but have you try without it?


On 29 January 2014 00:34, Ubdfu <ub...@student.kit.edu> wrote:

> Hello,
>
> I'm totally new to Apache Thrift so please excuse any inconvenience.
> Here is what I tried so far to get the Cpp Server/Js Client working:
> http://nopaste.info/4fe189b4d6.html
> The code is from the tutorial section, but there is only a Java server in
> the js example and I couldn't find any other example doing the same.
> When I'm calling client.ping() the executing waits at the method
> Thrift.transport.prototype.flush in line xreq.send(this.send_buf) until I
> shutdown the server.
> Can you give me any hints where I could start getting this to work?
>