}\r
\r
//\r
- // Create events for variuos asynchronous operations.\r
+ // Create events for various asynchronous operations.\r
//\r
Status = gBS->CreateEvent (\r
EVT_NOTIFY_SIGNAL,\r
@param[in] TcpIo The TcpIo wrapping the TCP socket.\r
@param[in] Packet The packet to transmit.\r
\r
- @retval EFI_SUCCESS The packet is trasmitted.\r
+ @retval EFI_SUCCESS The packet is transmitted.\r
@retval EFI_INVALID_PARAMETER One or more parameters are invalid.\r
@retval EFI_UNSUPPORTED One or more of the control options are not\r
supported in the implementation.\r
Status = EFI_DEVICE_ERROR;\r
\r
//\r
- // Trasnmit the packet.\r
+ // Transmit the packet.\r
//\r
if (TcpIo->TcpVersion == TCP_VERSION_4) {\r
TcpIo->TxToken.Tcp4Token.Packet.TxData = (EFI_TCP4_TRANSMIT_DATA *) Data;\r
\r
@param[in, out] TcpIo The TcpIo which wraps the socket to be destroyed.\r
@param[in] Packet The buffer to hold the data copy from the socket rx buffer.\r
- @param[in] AsyncMode Is this receive asyncronous or not.\r
+ @param[in] AsyncMode Is this receive asynchronous or not.\r
@param[in] Timeout The time to wait for receiving the amount of data the Packet\r
can hold. Set to NULL for infinite wait.\r
\r
@retval EFI_SUCCESS The required amount of data is received from the socket.\r
@retval EFI_INVALID_PARAMETER One or more parameters are invalid.\r
@retval EFI_DEVICE_ERROR An unexpected network or system error occurred.\r
- @retval EFI_OUT_OF_RESOURCES Failed to allocate momery.\r
+ @retval EFI_OUT_OF_RESOURCES Failed to allocate memory.\r
@retval EFI_TIMEOUT Failed to receive the required amount of data in the\r
specified time period.\r
@retval Others Other errors as indicated.\r