malloc(1025), sendData = 0x2040eec0 connect: 192.168.8.118 port 4040 No, Conn, Receiv, Error, byes(default: 1 F1: TCP_NODELAY (0), F2: TCP_DELAY)(1) tcp_connect to port 4040 tcp_enqueue(pcb=0x201c98a0, arg=0x00000000, len=0, flags=2, apiflags=0) tcp_enqueue: queuelen: 0 tcp_enqueue: queueing 11695:11696 (0x2) tcp_enqueue: 1 (after enqueued) tcp_output: snd_wnd 16060, cwnd 1, wnd 1, effwnd 0, seq 11695, ack 11695 tcp_output: snd_wnd 16060, cwnd 1, wnd 1, effwnd 0, seq 11695, ack 11695, i 0 tcp_output_segment: rtseq 11695 tcp_output_segment: 11695:11695 tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb TCP header: +-------------------------------+ | 4040 | 4110 | (src port, dest port) +-------------------------------+ | 0601303106 | (seq no) +-------------------------------+ | 0000011696 | (ack no) +-------------------------------+ | 6 | |010010| 65535 | (hdrlen, flags (SYN ACK ), win) +-------------------------------+ | 0xd479 | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags SYN ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: SYN_SENT tcp_parseopt: MSS SYN-SENT: ackno 11696 pcb->snd_nxt 11696 unacked 11695 tcp_process: SYN-SENT --queuelen 0 tcp_output: sending ACK for 601303107 State: ESTABLISHED tcp_write(pcb=0x201c98a0, data=0x2040eec0, len=1025, apiflags=1) tcp_enqueue(pcb=0x201c98a0, arg=0x2040eec0, len=1025, flags=0, apiflags=1) tcp_enqueue: queuelen: 0 tcp_enqueue: queueing 11696:12721 (0x0) tcp_enqueue: 1 (after enqueued) tcp_output: snd_wnd 65535, cwnd 2920, wnd 2920, effwnd 1025, seq 11696, ack 11696 tcp_output: snd_wnd 65535, cwnd 2920, wnd 2920, effwnd 1025, seq 11696, ack 11696, i 0 tcp_output_segment: 11696:12721 tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb tcp_slowtmr: polling application tcp_output: nothing to send (0x00000000) tcp_output: snd_wnd 65535, cwnd 2920, wnd 2920, seg == NULL, ack 11696 TCP header: +-------------------------------+ | 4040 | 4110 | (src port, dest port) +-------------------------------+ | 0601303107 | (seq no) +-------------------------------+ | 0000012721 | (ack no) +-------------------------------+ | 5 | |010000| 64510 | (hdrlen, flags (ACK ), win) +-------------------------------+ | 0xec36 | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: ESTABLISHED tcp_receive: window update 64510 tcp_receive: slow start cwnd 4380 tcp_receive: ACK for 12721, unacked->seqno 11696:12721 tcp_receive: removing 11696:12721 from pcb->unacked tcp_receive: queuelen 1 ... 0 (after freeing unacked) tcp_receive: pcb->rttest 682 rtseq 11695 ackno 12721 tcp_receive: experienced rtt 4 ticks (2000 msec). tcp_receive: RTO 9 (4500 milliseconds) tcp_output: nothing to send (0x00000000) tcp_output: snd_wnd 64510, cwnd 4380, wnd 4380, seg == NULL, ack 12721 State: ESTABLISHED tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb tcp_slowtmr: polling application tcp_output: nothing to send (0x00000000) tcp_output: snd_wnd 64510, cwnd 4380, wnd 4380, seg == NULL, ack 12721 tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb tcp_slowtmr: polling application tcp_output: nothing to send (0x00000000) tcp_output: snd_wnd 64510, cwnd 4380, wnd 4380, seg == NULL, ack 12721 tcp_slowtmr: processing active pcb TCP header: +-------------------------------+ | 4040 | 4110 | (src port, dest port) +-------------------------------+ | 0601303107 | (seq no) +-------------------------------+ | 0000012721 | (ack no) +-------------------------------+ | 5 | |011000| 64510 | (hdrlen, flags (PSH ACK ), win) +-------------------------------+ | 0x27d4 | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags PSH ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: ESTABLISHED tcp_receive: pcb->rttest 0 rtseq 11695 ackno 12721 tcp_output: nothing to send (0x00000000) tcp_output: snd_wnd 64510, cwnd 4380, wnd 4380, seg == NULL, ack 12721 State: ESTABLISHED tcp_recved: recveived 1025 bytes, wnd 16060 (0). 1, 1290, 5580, 0, 1025 tcp_close: closing in State: ESTABLISHED tcp_enqueue(pcb=0x201c98a0, arg=0x00000000, len=0, flags=1, apiflags=1) tcp_enqueue: queuelen: 0 tcp_enqueue: queueing 12721:12722 (0x1) tcp_enqueue: 1 (after enqueued) tcp_output: snd_wnd 64510, cwnd 4380, wnd 4380, effwnd 0, seq 12721, ack 12721 tcp_output: snd_wnd 64510, cwnd 4380, wnd 4380, effwnd 0, seq 12721, ack 12721, i 0 tcp_output_segment: rtseq 12721 tcp_output_segment: 12721:12721 tcp_connect to port 4040 tcp_enqueue(pcb=0x201c97f0, arg=0x00000000, len=0, flags=2, apiflags=0) tcp_enqueue: queuelen: 0 tcp_enqueue: queueing 13085:13086 (0x2) tcp_enqueue: 1 (after enqueued) tcp_output: snd_wnd 16060, cwnd 1, wnd 1, effwnd 0, seq 13085, ack 13085 tcp_output: snd_wnd 16060, cwnd 1, wnd 1, effwnd 0, seq 13085, ack 13085, i 0 tcp_output_segment: rtseq 13085 tcp_output_segment: 13085:13085 tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb TCP header: +-------------------------------+ | 4040 | 4110 | (src port, dest port) +-------------------------------+ | 0601304132 | (seq no) +-------------------------------+ | 0000012722 | (ack no) +-------------------------------+ | 5 | |010000| 64510 | (hdrlen, flags (ACK ), win) +-------------------------------+ | 0xe834 | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: FIN_WAIT_1 tcp_receive: window update 64510 tcp_receive: slow start cwnd 5840 tcp_receive: ACK for 12722, unacked->seqno 12721:12722 tcp_receive: removing 12721:12722 from pcb->unacked tcp_receive: queuelen 1 ... 0 (after freeing unacked) tcp_receive: pcb->rttest 695 rtseq 12721 ackno 12722 tcp_receive: experienced rtt 2 ticks (1000 msec). tcp_receive: RTO 9 (4500 milliseconds) tcp_output: nothing to send (0x00000000) tcp_output: snd_wnd 64510, cwnd 5840, wnd 5840, seg == NULL, ack 12722 State: FIN_WAIT_2 TCP header: +-------------------------------+ | 4040 | 4110 | (src port, dest port) +-------------------------------+ | 0601304132 | (seq no) +-------------------------------+ | 0000012722 | (ack no) +-------------------------------+ | 5 | |010001| 64510 | (hdrlen, flags (FIN ACK ), win) +-------------------------------+ | 0xe833 | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags FIN ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: FIN_WAIT_2 tcp_receive: pcb->rttest 0 rtseq 12721 ackno 12722 tcp_receive: received FIN. TCP connection closed: FIN_WAIT_2 4040 -> 4110. tcp_pcb_purge tcp_close: closing in State: TIME_WAIT tcp_output: sending ACK for 601304133 State: TIME_WAIT TCP header: +-------------------------------+ | 4040 | 4111 | (src port, dest port) +-------------------------------+ | 2163593497 | (seq no) +-------------------------------+ | 0000013086 | (ack no) +-------------------------------+ | 6 | |010010| 65535 | (hdrlen, flags (SYN ACK ), win) +-------------------------------+ | 0xc914 | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags SYN ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: SYN_SENT tcp_parseopt: MSS SYN-SENT: ackno 13086 pcb->snd_nxt 13086 unacked 13085 tcp_process: SYN-SENT --queuelen 0 tcp_output: sending ACK for 2163593498 State: ESTABLISHED tcp_write(pcb=0x201c97f0, data=0x2040eec0, len=1025, apiflags=1) tcp_enqueue(pcb=0x201c97f0, arg=0x2040eec0, len=1025, flags=0, apiflags=1) tcp_enqueue: queuelen: 0 tcp_enqueue: queueing 13086:14111 (0x0) tcp_enqueue: 1 (after enqueued) tcp_output: snd_wnd 65535, cwnd 2920, wnd 2920, effwnd 1025, seq 13086, ack 13086 tcp_output: snd_wnd 65535, cwnd 2920, wnd 2920, effwnd 1025, seq 13086, ack 13086, i 0 tcp_output_segment: 13086:14111 tcp_slowtmr: processing active pcb TCP header: +-------------------------------+ | 4040 | 4111 | (src port, dest port) +-------------------------------+ | 2163593498 | (seq no) +-------------------------------+ | 0000014111 | (ack no) +-------------------------------+ | 5 | |011000| 64510 | (hdrlen, flags (PSH ACK ), win) +-------------------------------+ | 0x1c6f | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags PSH ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: ESTABLISHED tcp_receive: window update 64510 tcp_receive: slow start cwnd 4380 tcp_receive: ACK for 14111, unacked->seqno 13086:14111 tcp_receive: removing 13086:14111 from pcb->unacked tcp_receive: queuelen 1 ... 0 (after freeing unacked) tcp_receive: pcb->rttest 695 rtseq 13085 ackno 14111 tcp_receive: experienced rtt 3 ticks (1500 msec). tcp_receive: RTO 8 (4000 milliseconds) tcp_output: nothing to send (0x00000000) tcp_output: snd_wnd 64510, cwnd 4380, wnd 4380, seg == NULL, ack 14111 State: ESTABLISHED tcp_recved: recveived 1025 bytes, wnd 16060 (0). tcp_fasttmr: delayed ACK tcp_output: sending ACK for 2163594523 tcp_slowtmr: processing active pcb 2, 730, 970, 0, 1025 tcp_close: closing in State: ESTABLISHED tcp_enqueue(pcb=0x201c97f0, arg=0x00000000, len=0, flags=1, apiflags=1) tcp_enqueue: queuelen: 0 tcp_enqueue: queueing 14111:14112 (0x1) tcp_enqueue: 1 (after enqueued) tcp_output: snd_wnd 64510, cwnd 4380, wnd 4380, effwnd 0, seq 14111, ack 14111 tcp_output: snd_wnd 64510, cwnd 4380, wnd 4380, effwnd 0, seq 14111, ack 14111, i 0 tcp_output_segment: rtseq 14111 tcp_output_segment: 14111:14111 tcp_connect to port 4040 tcp_enqueue(pcb=0x201c9690, arg=0x00000000, len=0, flags=2, apiflags=0) tcp_enqueue: queuelen: 0 tcp_enqueue: queueing 14483:14484 (0x2) tcp_enqueue: 1 (after enqueued) tcp_output: snd_wnd 16060, cwnd 1, wnd 1, effwnd 0, seq 14483, ack 14483 tcp_output: snd_wnd 16060, cwnd 1, wnd 1, effwnd 0, seq 14483, ack 14483, i 0 tcp_output_segment: rtseq 14483 tcp_output_segment: 14483:14483 tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb TCP header: +-------------------------------+ | 4040 | 4111 | (src port, dest port) +-------------------------------+ | 2163594523 | (seq no) +-------------------------------+ | 0000014112 | (ack no) +-------------------------------+ | 5 | |010000| 64510 | (hdrlen, flags (ACK ), win) +-------------------------------+ | 0xdccf | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: FIN_WAIT_1 tcp_receive: window update 64510 tcp_receive: slow start cwnd 5840 tcp_receive: ACK for 14112, unacked->seqno 14111:14112 tcp_receive: removing 14111:14112 from pcb->unacked tcp_receive: queuelen 1 ... 0 (after freeing unacked) tcp_receive: pcb->rttest 699 rtseq 14111 ackno 14112 tcp_receive: experienced rtt 1 ticks (500 msec). tcp_receive: RTO 7 (3500 milliseconds) tcp_output: nothing to send (0x00000000) tcp_output: snd_wnd 64510, cwnd 5840, wnd 5840, seg == NULL, ack 14112 State: FIN_WAIT_2 TCP header: +-------------------------------+ | 4040 | 4112 | (src port, dest port) +-------------------------------+ | 2393207274 | (seq no) +-------------------------------+ | 0000014484 | (ack no) +-------------------------------+ | 6 | |010010| 65535 | (hdrlen, flags (SYN ACK ), win) +-------------------------------+ | 0x151d | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags SYN ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: SYN_SENT tcp_parseopt: MSS SYN-SENT: ackno 14484 pcb->snd_nxt 14484 unacked 14483 tcp_process: SYN-SENT --queuelen 0 tcp_output: sending ACK for 2393207275 State: ESTABLISHED TCP header: +-------------------------------+ | 4040 | 4111 | (src port, dest port) +-------------------------------+ | 2163594523 | (seq no) +-------------------------------+ | 0000014112 | (ack no) +-------------------------------+ | 5 | |010001| 64510 | (hdrlen, flags (FIN ACK ), win) +-------------------------------+ | 0xdcce | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags FIN ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: FIN_WAIT_2 tcp_receive: pcb->rttest 0 rtseq 14111 ackno 14112 tcp_receive: received FIN. TCP connection closed: FIN_WAIT_2 4040 -> 4111. tcp_pcb_purge tcp_close: closing in State: TIME_WAIT tcp_output: sending ACK for 2163594524 State: TIME_WAIT tcp_write(pcb=0x201c9690, data=0x2040eec0, len=1025, apiflags=1) tcp_enqueue(pcb=0x201c9690, arg=0x2040eec0, len=1025, flags=0, apiflags=1) tcp_enqueue: queuelen: 0 tcp_enqueue: queueing 14484:15509 (0x0) tcp_enqueue: 1 (after enqueued) tcp_output: snd_wnd 65535, cwnd 2920, wnd 2920, effwnd 1025, seq 14484, ack 14484 tcp_output: snd_wnd 65535, cwnd 2920, wnd 2920, effwnd 1025, seq 14484, ack 14484, i 0 tcp_output_segment: 14484:15509 tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb TCP header: +-------------------------------+ | 4040 | 4112 | (src port, dest port) +-------------------------------+ | 2393207275 | (seq no) +-------------------------------+ | 0000015509 | (ack no) +-------------------------------+ | 5 | |011000| 64510 | (hdrlen, flags (PSH ACK ), win) +-------------------------------+ | 0x6877 | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags PSH ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: ESTABLISHED tcp_receive: window update 64510 tcp_receive: slow start cwnd 4380 tcp_receive: ACK for 15509, unacked->seqno 14484:15509 tcp_receive: removing 14484:15509 from pcb->unacked tcp_receive: queuelen 1 ... 0 (after freeing unacked) tcp_receive: pcb->rttest 699 rtseq 14483 ackno 15509 tcp_receive: experienced rtt 3 ticks (1500 msec). tcp_receive: RTO 8 (4000 milliseconds) tcp_output: nothing to send (0x00000000) tcp_output: snd_wnd 64510, cwnd 4380, wnd 4380, seg == NULL, ack 15509 State: ESTABLISHED tcp_recved: recveived 1025 bytes, wnd 16060 (0). 3, 730, 1010, 0, 1025 tcp_close: closing in State: ESTABLISHED tcp_enqueue(pcb=0x201c9690, arg=0x00000000, len=0, flags=1, apiflags=1) tcp_enqueue: queuelen: 0 tcp_enqueue: queueing 15509:15510 (0x1) tcp_enqueue: 1 (after enqueued) tcp_output: snd_wnd 64510, cwnd 4380, wnd 4380, effwnd 0, seq 15509, ack 15509 tcp_output: snd_wnd 64510, cwnd 4380, wnd 4380, effwnd 0, seq 15509, ack 15509, i 0 tcp_output_segment: rtseq 15509 tcp_output_segment: 15509:15509 tcp_connect to port 4040 tcp_enqueue(pcb=0x201c9950, arg=0x00000000, len=0, flags=2, apiflags=0) tcp_enqueue: queuelen: 0 tcp_enqueue: queueing 15887:15888 (0x2) tcp_enqueue: 1 (after enqueued) tcp_output: snd_wnd 16060, cwnd 1, wnd 1, effwnd 0, seq 15887, ack 15887 tcp_output: snd_wnd 16060, cwnd 1, wnd 1, effwnd 0, seq 15887, ack 15887, i 0 tcp_output_segment: rtseq 15887 tcp_output_segment: 15887:15887 tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb TCP header: +-------------------------------+ | 4040 | 4112 | (src port, dest port) +-------------------------------+ | 2393208300 | (seq no) +-------------------------------+ | 0000015510 | (ack no) +-------------------------------+ | 5 | |010000| 64510 | (hdrlen, flags (ACK ), win) +-------------------------------+ | 0x28d8 | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: FIN_WAIT_1 tcp_receive: window update 64510 tcp_receive: slow start cwnd 5840 tcp_receive: ACK for 15510, unacked->seqno 15509:15510 tcp_receive: removing 15509:15510 from pcb->unacked tcp_receive: queuelen 1 ... 0 (after freeing unacked) tcp_receive: pcb->rttest 702 rtseq 15509 ackno 15510 tcp_receive: experienced rtt 1 ticks (500 msec). tcp_receive: RTO 7 (3500 milliseconds) tcp_output: nothing to send (0x00000000) tcp_output: snd_wnd 64510, cwnd 5840, wnd 5840, seg == NULL, ack 15510 State: FIN_WAIT_2 TCP header: +-------------------------------+ | 4040 | 4113 | (src port, dest port) +-------------------------------+ | 2170363640 | (seq no) +-------------------------------+ | 0000015888 | (ack no) +-------------------------------+ | 6 | |010010| 65535 | (hdrlen, flags (SYN ACK ), win) +-------------------------------+ | 0x6fda | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags SYN ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: SYN_SENT tcp_parseopt: MSS SYN-SENT: ackno 15888 pcb->snd_nxt 15888 unacked 15887 tcp_process: SYN-SENT --queuelen 0 tcp_output: sending ACK for 2170363641 State: ESTABLISHED TCP header: +-------------------------------+ | 4040 | 4112 | (src port, dest port) +-------------------------------+ | 2393208300 | (seq no) +-------------------------------+ | 0000015510 | (ack no) +-------------------------------+ | 5 | |010001| 64510 | (hdrlen, flags (FIN ACK ), win) +-------------------------------+ | 0x28d7 | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags FIN ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: FIN_WAIT_2 tcp_receive: pcb->rttest 0 rtseq 15509 ackno 15510 tcp_receive: received FIN. TCP connection closed: FIN_WAIT_2 4040 -> 4112. tcp_pcb_purge tcp_close: closing in State: TIME_WAIT tcp_output: sending ACK for 2393208301 State: TIME_WAIT tcp_write(pcb=0x201c9950, data=0x2040eec0, len=1025, apiflags=1) tcp_enqueue(pcb=0x201c9950, arg=0x2040eec0, len=1025, flags=0, apiflags=1) tcp_enqueue: queuelen: 0 tcp_enqueue: queueing 15888:16913 (0x0) tcp_enqueue: 1 (after enqueued) tcp_output: snd_wnd 65535, cwnd 2920, wnd 2920, effwnd 1025, seq 15888, ack 15888 tcp_output: snd_wnd 65535, cwnd 2920, wnd 2920, effwnd 1025, seq 15888, ack 15888, i 0 tcp_output_segment: 15888:16913 tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb TCP header: +-------------------------------+ | 4040 | 4113 | (src port, dest port) +-------------------------------+ | 2170363641 | (seq no) +-------------------------------+ | 0000016913 | (ack no) +-------------------------------+ | 5 | |011000| 64510 | (hdrlen, flags (PSH ACK ), win) +-------------------------------+ | 0xc334 | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags PSH ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: ESTABLISHED tcp_receive: window update 64510 tcp_receive: slow start cwnd 4380 tcp_receive: ACK for 16913, unacked->seqno 15888:16913 tcp_receive: removing 15888:16913 from pcb->unacked tcp_receive: queuelen 1 ... 0 (after freeing unacked) tcp_receive: pcb->rttest 702 rtseq 15887 ackno 16913 tcp_receive: experienced rtt 3 ticks (1500 msec). tcp_receive: RTO 8 (4000 milliseconds) tcp_output: nothing to send (0x00000000) tcp_output: snd_wnd 64510, cwnd 4380, wnd 4380, seg == NULL, ack 16913 State: ESTABLISHED tcp_recved: recveived 1025 bytes, wnd 16060 (0). 4, 720, 1020, 0, 1025 tcp_close: closing in State: ESTABLISHED tcp_enqueue(pcb=0x201c9950, arg=0x00000000, len=0, flags=1, apiflags=1) tcp_enqueue: queuelen: 0 tcp_enqueue: queueing 16913:16914 (0x1) tcp_enqueue: 1 (after enqueued) tcp_output: snd_wnd 64510, cwnd 4380, wnd 4380, effwnd 0, seq 16913, ack 16913 tcp_output: snd_wnd 64510, cwnd 4380, wnd 4380, effwnd 0, seq 16913, ack 16913, i 0 tcp_output_segment: rtseq 16913 tcp_output_segment: 16913:16913 free(), sendData = 0x2040eec0 ===SCREEN DISPLAY=== 19-ADC Test 20-tcpTest * 21-TNS Test 22-Beep Test ===SCREEN DISPLAY===:37 >> tcp_slowtmr: processing active pcb tcp_slowtmr: processing active pcb TCP header: +-------------------------------+ | 4040 | 4113 | (src port, dest port) +-------------------------------+ | 2170364666 | (seq no) +-------------------------------+ | 0000016914 | (ack no) +-------------------------------+ | 5 | |010000| 64510 | (hdrlen, flags (ACK ), win) +-------------------------------+ | 0x8395 | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: FIN_WAIT_1 tcp_receive: window update 64510 tcp_receive: slow start cwnd 5840 tcp_receive: ACK for 16914, unacked->seqno 16913:16914 tcp_receive: removing 16913:16914 from pcb->unacked tcp_receive: queuelen 1 ... 0 (after freeing unacked) tcp_receive: pcb->rttest 705 rtseq 16913 ackno 16914 tcp_receive: experienced rtt 2 ticks (1000 msec). tcp_receive: RTO 8 (4000 milliseconds) tcp_output: nothing to send (0x00000000) tcp_output: snd_wnd 64510, cwnd 5840, wnd 5840, seg == NULL, ack 16914 State: FIN_WAIT_2 TCP header: +-------------------------------+ | 4040 | 4113 | (src port, dest port) +-------------------------------+ | 2170364666 | (seq no) +-------------------------------+ | 0000016914 | (ack no) +-------------------------------+ | 5 | |010001| 64510 | (hdrlen, flags (FIN ACK ), win) +-------------------------------+ | 0x8394 | 0 | (chksum, urgp) +-------------------------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags FIN ACK -+-+-+-+-+-+-+-+-+-+-+-+-+-+ State: FIN_WAIT_2 tcp_receive: pcb->rttest 0 rtseq 16913 ackno 16914 tcp_receive: received FIN. TCP connection closed: FIN_WAIT_2 4040 -> 4113. tcp_pcb_purge tcp_close: closing in State: TIME_WAIT tcp_output: sending ACK for 2170364667 State: TIME_WAIT tcp_slowtmr: no active pcbs tcp_slowtmr: no active pcbs tcp_slowtmr: no active pcbs