added element lastseq to the FD_ARRAY structure
pack.c's main() uses the correct names for the typedef'd structs it uses
more work done in send_chunk