File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments