using three different socket types, implemented rto function, fixed close sequence, ack+1