Thanks for the response. In that case, can you tell me how we can
implement the server code.
On 4/9/2015 5:23 AM, Randy Abernethy wrote:
Hello,
Most languages do not generate a server skeleton, c++ is one of the few
that does.
-Randy
On Wednesday, April 8, 2015, Deeraj <[email protected]> wrote:
*Hi,
I am trying to implement client/ server in c. I am able to generate the
server skeleton in cpp using the following command :
thrift ---gen cpp test.thrift
But while generating the code using c_glib, the server skeleton is not
generated.
Is this a problem with my .thrift file or is it because of the c_glib ?
Can you kindly confirm whether the c_glib generates the server skeleton?
The test.thrift file am using is appended here :
*
|#!/usr/local/bin/thrift --gen c_glib
namespace c_glibTest
struct packet{
1:required i32 header,
2:required i32 data,
3:required i32 crc
}
serviceSomething {
i32 ping(),
packet transfer()
}|
--
Thanks & Regards,
Deeraj Soman
Senior Engineer - TBU | Embedded Product Design
TATA ELXSI
Technopark CampusKariyavattomTrivandrum 695 581India
Phone:+91 471 666 1124
Mobile: +91 9895703852
*www.tataelxsi.com*
<https://sinprd0410.outlook.com/owa/redir.aspx?C=qyQ5HANN90SvDNp5pyzlQgCjW3rPss8IRh9kaHIpdT-pocCvJc2bGjG5OjXXp8HUHmQTB2YZ2Kw.&URL=http%3a%2f%2fwww.tataelxsi.com%2f>