![packet sender log packets packet sender log packets](https://i.stack.imgur.com/Z07sj.png)
#Packet sender log packets code#
This was a very slight modification to my original code that had me sending/receiving an ACK for every packet sent. The server isn't sending all of its packets, nor is it receiving any acknowledgments. Right now, I believe that I'm having issues with the sockets timing out. If(s.sendto(chunk,addr) and s.sendto(str(local_ID),addr)): However, I'm struggling to implement this on top of my current system below: every x bytes), or packets received (i.e. The frequency with which an ACK should be sent would likely be determined upon amount of data received (i.e. My idea to reduce the speed would be to send an ACK only every so often (instead of for each packet). However, this is slowing down the transfer speed (not terribly, but enough that I'd like to optimize it).
![packet sender log packets packet sender log packets](https://sc1.checkpoint.com/sc/SolutionsStatics/sk120462/Example.png)
While I understand that UDP isn't known for reliability, I must use UDP for the transfer (I'm simply working on a test program for a larger project, and the device being used in that project isn't capable of using TCP streams).Īnyways, as it stands, I'm able to get all data across to the client, by implementing a simple ACK system in which the client sends an ACK for every packet it receives. 2 Click the Packet tab, then click Settings. To enable packet logging: 1 On the Security tab, click Net Defense Log. I'm currently trying to implement some measures for ensuring total data delivery. The Raw Packet Dump pane contains the actual packet content in hexadecimal code, and information about the configuration of the sender’s IP address. I'm currently writing a simple client/server UDP file transfer program in Python.