摘要:
1, people.protoRuby代码packagedemo;messagePeople{requiredstringname=1;requiredint32id=2;requiredstringemail=3;}2, 生成stub类Ruby代码protoc--cpp_out=.people.protorprotocpeople.proto3, C++服务器端server.ccC++代码#include<stdio.h>#include<stdlib.h>#include<strings.h>#include<unistd.h>#includ 阅读全文
posted @ 2012-07-04 23:57
ghost&240
阅读(7468)
评论(1)
推荐(0)

浙公网安备 33010602011771号