Hi, The amazingly quick replys from ns-users! I appreciate the kind helps, my previous problem has been solved. Another question is: I am trying to find the procedure which implements the packet retransmission in TCP, would someone give me some hints? Thanks. Tsung-Li Wu