Skip to content

Commit 24ad7fa

Browse files
committed
[#3361] fix typos
1 parent ebfd205 commit 24ad7fa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/lib/asiolink/io_asio_socket.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class IOAsioSocket : public IOSocket {
146146
/// asynchronous operation. On a UDP socket, it is just a call to "open()"
147147
/// and completes synchronously.
148148
///
149-
/// For TCP, signalling of the completion of the operation is done by
149+
/// For TCP, signaling of the completion of the operation is done by
150150
/// by calling the callback function in the normal way. This could be done
151151
/// for UDP (by posting en event on the event queue); however, that will
152152
/// incur additional overhead in the most common case. So we give the
@@ -170,7 +170,7 @@ class IOAsioSocket : public IOSocket {
170170
/// \brief Open AsioSocket
171171
///
172172
/// Opens the socket for asynchronous I/O. The open will complete
173-
/// synchronously on UCP or asynchronously on TCP (in which case a callback
173+
/// synchronously on UDP or asynchronously on TCP (in which case a callback
174174
/// will be queued).
175175
///
176176
/// \param endpoint Pointer to the endpoint object. This is ignored for

src/lib/asiolink/tests/udp_socket_unittest.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ TEST(UDPSocket, SequenceTest) {
215215
UDPEndpoint server_remote_endpoint; // Address where server received message from
216216

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

0 commit comments

Comments
 (0)