> 1. Can anyone tell me which is the function that initializes the size > of the Application layer? Packet* p = allocpkt(); //allocate a packet hdr_cmn* ch= (hdr_cmn*)p->access(off_cmn_); //access the common header ch->size() = 1024; //input the bits into the packet, 1024 total target_->recv(p, (Handler *) 0); //send it off This is what I use and it seems to work for me. -Will