assert_eq 0 ${_GET_LOG_MESSAGES} \
"Expected get_log_messages return %d, returned %d."
- # Server may shut down imediatelly after configuration has completed.
+ # Server may shut down immediately after configuration has completed.
# Give it some time to shutdown.
sleep 3
assert_eq 2 ${_GET_LOG_MESSAGES} \
"Expected get_log_messages for DCT_STANDALONE return %d, returned %d."
- # Server may shut down imediatelly after configuration has completed.
+ # Server may shut down immediately after configuration has completed.
# Give it some time to shutdown.
sleep 3
"Timeout waiting for ${kea4_name} to start. \
Expected wait_for_message return %d, returned %d."
- # Server may shut down imediatelly after configuration has completed.
+ # Server may shut down immediately after configuration has completed.
# Give it some time to shutdown.
sleep 3
"Timeout waiting for ${kea6_name} to start. \
Expected wait_for_message return %d, returned %d."
- # Server may shut down imediatelly after configuration has completed.
+ # Server may shut down immediately after configuration has completed.
# Give it some time to shutdown.
sleep 3
"Timeout waiting for ${kea6_name} to start. \
Expected wait_for_message return %d, returned %d."
- # Server may shut down imediatelly after configuration has completed.
+ # Server may shut down immediately after configuration has completed.
# Give it some time to shutdown.
sleep 3
"Timeout waiting for ${kea4_name} to start. \
Expected wait_for_message return %d, returned %d."
- # Server may shut down imediatelly after configuration has completed.
+ # Server may shut down immediately after configuration has completed.
# Give it some time to shutdown.
sleep 3
assert_eq 0 ${_GET_LOG_MESSAGES} \
"Expected get_log_messages return %d, returned %d."
- # Server may shut down imediatelly after configuration has completed.
+ # Server may shut down immediately after configuration has completed.
# Give it some time to shutdown.
sleep 3
/// @brief Asynchronously connects the socket to the specified endpoint.
///
- /// Always returns immediatelly.
+ /// Always returns immediately.
///
/// @param path Path to the unix socket to which we should connect.
/// @param handler Callback to be invoked when connection is established or
/// @brief Asynchronously sends data over the socket.
///
- /// Always returns immediatelly.
+ /// Always returns immediately.
///
/// @param data Pointer to data to be sent.
/// @param length Number of bytes to be sent.
/// @brief Asynchronously receives data over the socket.
///
- /// Always returns immediatelly.
+ /// Always returns immediately.
/// @param [out] data Pointer to a location into which the read data should
/// be stored.
/// @param length Length of the buffer.
// Pass self to lambda to make sure that the instance of this class
// lives as long as the lambda is held for async connect.
auto self(shared_from_this());
- // Start asynchronous connect. This will return immediatelly.
+ // Start asynchronous connect. This will return immediately.
socket_.asyncConnect(socket_path.socket_path_,
[this, self, command, handler](const boost::system::error_code& ec) {
// We failed to connect so we can't proceed. Simply clean up
// lives as long as the lambda is held for async send.
auto self(shared_from_this());
// Start asynchronous transmission of the command. This will return
- // immediatelly.
+ // immediately.
socket_.asyncSend(buffer, length,
[this, self, buffer, length, handler]
(const boost::system::error_code& ec, size_t bytes_transferred) {