Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
3054eba8
Commit
3054eba8
authored
10 years ago
by
Yang Gao
Browse files
Options
Downloads
Patches
Plain Diff
Fix readme
parent
74c9ddcd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cpp/README.md
+13
-3
13 additions, 3 deletions
cpp/README.md
with
13 additions
and
3 deletions
cpp/README.md
+
13
−
3
View file @
3054eba8
...
@@ -35,7 +35,7 @@ $ make helloworld.pb.cc
...
@@ -35,7 +35,7 @@ $ make helloworld.pb.cc
Which internally invokes the proto-compiler as:
Which internally invokes the proto-compiler as:
```
sh
```
sh
$protoc
-I
../../protos/
--cpp_out
=
.
--grpc_out
=
.
--plugin
=
protoc-gen-grpc
=
grpc_cpp_plugin helloworld.proto
$
protoc
-I
../../protos/
--cpp_out
=
.
--grpc_out
=
.
--plugin
=
protoc-gen-grpc
=
grpc_cpp_plugin
../../protos/
helloworld.proto
```
```
### Client and server implementations
### Client and server implementations
...
@@ -45,8 +45,18 @@ The client implementation is at [greeter_client.cc](https://github.com/grpc/grpc
...
@@ -45,8 +45,18 @@ The client implementation is at [greeter_client.cc](https://github.com/grpc/grpc
The server implementation is at
[
greeter_server.cc
](
https://github.com/grpc/grpc-common/blob/master/cpp/helloworld/greeter_server.cc
)
.
The server implementation is at
[
greeter_server.cc
](
https://github.com/grpc/grpc-common/blob/master/cpp/helloworld/greeter_server.cc
)
.
### Try it!
### Try it!
Build client and server:
###TODO: instructions to run server and client
```
sh
$
make
```
Run the server:
```
sh
$
./greeter_server
```
Run the client:
```
sh
$
./greeter_client
```
## Tutorial
## Tutorial
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment