Skip to content

Commit

Permalink
[#3361] fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
wwencel committed Apr 29, 2024
1 parent ebfd205 commit 24ad7fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lib/asiolink/io_asio_socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class IOAsioSocket : public IOSocket {
/// asynchronous operation. On a UDP socket, it is just a call to "open()"
/// and completes synchronously.
///
/// For TCP, signalling of the completion of the operation is done by
/// For TCP, signaling of the completion of the operation is done by
/// by calling the callback function in the normal way. This could be done
/// for UDP (by posting en event on the event queue); however, that will
/// incur additional overhead in the most common case. So we give the
Expand All @@ -170,7 +170,7 @@ class IOAsioSocket : public IOSocket {
/// \brief Open AsioSocket
///
/// Opens the socket for asynchronous I/O. The open will complete
/// synchronously on UCP or asynchronously on TCP (in which case a callback
/// synchronously on UDP or asynchronously on TCP (in which case a callback
/// will be queued).
///
/// \param endpoint Pointer to the endpoint object. This is ignored for
Expand Down
2 changes: 1 addition & 1 deletion src/lib/asiolink/tests/udp_socket_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ TEST(UDPSocket, SequenceTest) {
UDPEndpoint server_remote_endpoint; // Address where server received message from

// The client - the UDPSocket being tested
UDPSocket<UDPCallback> client(service); // Socket under test
UDPSocket<UDPCallback> client(service); // Socket under test
UDPCallback client_cb("Client"); // Async I/O callback function
UDPEndpoint client_remote_endpoint; // Where client receives message from
size_t client_cumulative = 0; // Cumulative data received
Expand Down

0 comments on commit 24ad7fa

Please sign in to comment.