mirror of https://github.com/grpc/grpc.io.git
Add padding to code samples and fix some indentation issues
Signed-off-by: lucperkins <lucperkins@gmail.com>
This commit is contained in:
parent
3b4f54cb78
commit
31451ff6b6
|
@ -225,28 +225,30 @@ int main(int argc, char** argv) {
|
|||
Just like we did before, from the `examples/cpp/helloworld` directory:
|
||||
|
||||
1. Build the client and server after having made changes:
|
||||
```sh
|
||||
$ make
|
||||
```
|
||||
|
||||
```sh
|
||||
$ make
|
||||
```
|
||||
|
||||
2. Run the server
|
||||
|
||||
```sh
|
||||
$ ./greeter_server
|
||||
```
|
||||
```sh
|
||||
$ ./greeter_server
|
||||
```
|
||||
|
||||
3. On a different terminal, run the client
|
||||
|
||||
```sh
|
||||
$ ./greeter_client
|
||||
```
|
||||
```sh
|
||||
$ ./greeter_client
|
||||
```
|
||||
|
||||
You should see the updated output:
|
||||
```sh
|
||||
$ ./greeter_client
|
||||
Greeter received: Hello world
|
||||
Greeter received: Hello again world
|
||||
```
|
||||
You should see the updated output:
|
||||
|
||||
```sh
|
||||
$ ./greeter_client
|
||||
Greeter received: Hello world
|
||||
Greeter received: Hello again world
|
||||
```
|
||||
|
||||
### What's next
|
||||
|
||||
|
|
|
@ -57,6 +57,10 @@ p img {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.highlight pre {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
|
||||
.btn {
|
||||
margin-top: 2%;
|
||||
|
|
Loading…
Reference in New Issue