I have two questions about TCP sending packets.
(1) All the packets from upper layer are enqueued in TCP. Then, who triggers the TCP to process and send the packets out? Does it have a time interrupt?
(2) How does TCP know the queue is empty? Since the users maybe keep sending packets and they are inserted to the TCP queue.
Any help is appreciated...