Dear All,
I hope this message finds you well,
I am wondering if I can change the behavior of Packet Sink API in which it can save the files sent by UDPTrace Client instead of consuming it for later use. After a little bit of research, here is few questions I didn't know how to answer :
1- How does Packet Sink API consume the packets ?
2- What DoDispose function do to the packets themselves ? are these packets related to the object being disposed ?
3- How HandleRead and HandleAccept deal with the packets ?
4- Do I need to write my own receiving socket in order to save these files in a specific directory ? if so, can you please guide me on how to do so in a "particular directory" ( not necessarily the current directory"
Unfortunately, my programming skills using object-oriented C++ is limited. On the other hand, I tried to simulate the scenario without using a network simulator ( i.e NS3) through configuring Cisco routers and few end points with opened customized sockets. However, the "delay" command on Cisco routers can only be used to influence the router selection and optimization by a routing protocol. Hence, it won't be scientifically sufficient to use them.
I hope you can help me with the above-mentioned problem and questions.
Best,
Nawras Alkassab