简体   繁体   English

TFTP服务器未从客户端接收

[英]TFTP Server not receiving from Client

I am developing a TFTP Server using C++. 我正在使用C ++开发TFTP服务器。 The problem is that I cannot receive or at least I do not see anything in the receiving buffer when I use a TFTP Client Demo (HS TFTP) which is available over the internet. 问题是,当我使用Internet上可用的TFTP客户端演示(HS TFTP)时,我无法接收或至少看不到接收缓冲区中的任何内容。

I can 'sense' that my app is receiving something, but I cannot see what was received when I use that demo for TFTP Client. 我可以“感觉”到我的应用程序正在接收东西,但是当我将该演示用于TFTP客户端时看不到接收到的东西。 So, what I did was to create a client myself and send a command like 'WRQ'. 因此,我要做的是自己创建一个客户端并发送“ WRQ”之类的命令。 In this way I am able to receive the command which was sent. 这样,我可以接收发送的命令。 Thus I do not have an idea why I cannot see what is coming from a regular TFTP Client that can be found on the internet. 因此,我不知道为什么我看不到可以从Internet上找到的常规TFTP客户端发出的消息。

BTW the transmission had been held in the same computer using the local ip 127.0.0.1 and default TFTP IP 69. 顺便说一句,传输已使用本地ip 127.0.0.1和默认TFTP IP 69保留在同一台计算机上。

Troubleshooting your scenario requires of Wireshark. 解决您的情况需要Wireshark。 You can then quickly visually spot what might be going on with the TFTP protocol. 然后,您可以快速直观地发现TFTP协议可能发生的情况。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM