implemented retransmit
implemented name and port command line options