> For my homework, I need to add some code to drop-tail queue. > Whenever receiving a packet, > 1. how to tell if it's a tcp ack packet? if the type is PT_ACK you can generate some action. that you can check by checking the ip header of a packet. please check the manual ...... > 2. how to modify it's receiver window size field? you have to modify the receiver agent. debo