Jump to content











Photo
- - - - -

TFTP not receiving ACK

c++ udp client

  • Please log in to reply
No replies to this topic

#1 SpcCode

SpcCode
  • Members
  • 1 posts
  •  
    United States

Posted 29 July 2012 - 03:42 AM


I am writing a TFTP Client using C++. I was able to send a read request using "octet" mode to a default TFTP Client (tftpd32). The problem is that I am unable to send the ACK back at the regular TFTP respond. I am getting the following error:

Connection received from 127.0.0.1 on port 51401 [27/07 23:03:15.612]
Read request for file <test.txt>. Mode octet [27/07 23:03:15.612]
Using local port 51402 [27/07 23:03:15.612]
Connection received from 127.0.0.1 on port 51401 [27/07 23:03:18.624]
Unexpected request 4 from peer [27/07 23:03:18.624]
Returning EBADOP to Peer [27/07 23:03:18.624]

Why I am able to send the RRQ but not the ACK using the same method?






Also tagged with one or more of these keywords: c++, udp, client

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users