File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ entire stream content and echos it back to the client.
6
6
7
7
Server:
8
8
```
9
- go run helloquic.go -port 1234
9
+ go run helloquic.go -listen 127.0.0.1: 1234
10
10
```
11
11
12
12
Client:
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ func main() {
40
40
flag .Parse ()
41
41
42
42
if (listen .Get ().Port () > 0 ) == (len (* remoteAddr ) > 0 ) {
43
- check (fmt .Errorf ("either specify -port for server or -remote for client" ))
43
+ check (fmt .Errorf ("either specify -listen for server or -remote for client" ))
44
44
}
45
45
46
46
if listen .Get ().Port () > 0 {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ which replies back.
5
5
6
6
Server:
7
7
```
8
- go run helloworld.go -port 1234
8
+ go run helloworld.go -listen 127.0.0.1: 1234
9
9
```
10
10
11
11
Client:
You can’t perform that action at this time.
0 commit comments