implements the send message(window ack size)