File tree 2 files changed +3
-3
lines changed
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 {
146
146
// / asynchronous operation. On a UDP socket, it is just a call to "open()"
147
147
// / and completes synchronously.
148
148
// /
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
150
150
// / by calling the callback function in the normal way. This could be done
151
151
// / for UDP (by posting en event on the event queue); however, that will
152
152
// / incur additional overhead in the most common case. So we give the
@@ -170,7 +170,7 @@ class IOAsioSocket : public IOSocket {
170
170
// / \brief Open AsioSocket
171
171
// /
172
172
// / 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
174
174
// / will be queued).
175
175
// /
176
176
// / \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) {
215
215
UDPEndpoint server_remote_endpoint; // Address where server received message from
216
216
217
217
// The client - the UDPSocket being tested
218
- UDPSocket<UDPCallback> client (service); // Socket under test
218
+ UDPSocket<UDPCallback> client (service); // Socket under test
219
219
UDPCallback client_cb (" Client" ); // Async I/O callback function
220
220
UDPEndpoint client_remote_endpoint; // Where client receives message from
221
221
size_t client_cumulative = 0 ; // Cumulative data received
You can’t perform that action at this time.
0 commit comments