mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 04:07:35 +03:00
README: fix invocation of Go routine in example (#4019)
This commit is contained in:
parent
571d3adef4
commit
10d1114962
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ go func() {
|
|||
// ... error handling
|
||||
// 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`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue