Skip to content

Commit 9b1d5c5

Browse files
committed
Fix description of picoquic_packet_loop_after_send
1 parent c2d50a5 commit 9b1d5c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/socket_loop.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ It exposes a series of callback events:
101101
it wants to be called for a time check before the loops waits for timers or incoming packets.
102102
* `picoquic_packet_loop_after_receive`: Called after packets have been received, enabling the application
103103
to perform picoquic API calls triggered by the received data.
104-
* `picoquic_packet_loop_after_send`: Called after packets have been received, enabling the application
105-
to perform picoquic API calls triggered by the received data.
104+
* `picoquic_packet_loop_after_send`: Called after packets have been sent, enabling the application
105+
to perform picoquic API calls triggered by the sent data.
106106
* `picoquic_packet_loop_port_update`: Provides a "loopback" socket address corresponding to the main
107107
socket. Can be used to learn the port number associated with that socket.
108108
* `picoquic_packet_loop_time_check`: Called before the packet loop starts waiting for a new packet or a

0 commit comments

Comments
 (0)