public void TestSendACK() { client.sendReadRequest(remotePath, destPath, TFTPClient.Modes.Octet); client.receiveDataBlock(out rcvBuffer); client.sendACK(); Assert.AreEqual(TFTPClient.FSM_Modes.ACK_SENT, client.tftpClientMode); }
public static void SendAck() { clnt.sendACK(); }
/// <summary> /// Send ACK packet to the TFTP server, after successfully receive the data block from the TFTP server. DATA_RECEIVED --> ACK_SENT. /// </summary> public static void sendACK() { client.sendACK(); state = client.tftpClientMode; }