forked from quic-go/quic-go
README: fix invocation of Go routine in example (#4019)
This commit is contained in:
@@ -32,7 +32,7 @@ go func() {
|
|||||||
// ... error handling
|
// ... error handling
|
||||||
// handle the connection, usually in a new Go routine
|
// handle the connection, usually in a new Go routine
|
||||||
}
|
}
|
||||||
}
|
}()
|
||||||
```
|
```
|
||||||
|
|
||||||
The listener `ln` can now be used to accept incoming QUIC connections by (repeatedly) calling the `Accept` method (see below for more information on the `quic.Connection`).
|
The listener `ln` can now be used to accept incoming QUIC connections by (repeatedly) calling the `Accept` method (see below for more information on the `quic.Connection`).
|
||||||
|
|||||||
Reference in New Issue
Block a user