コード例 #1
0
 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);
 }
コード例 #2
0
ファイル: Adapter.cs プロジェクト: jboomer/mbt-tftp-client
 public static void SendAck()
 {
     clnt.sendACK();
 }
コード例 #3
0
        /// <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;
        }