hi, check the debug.
tcp_slowtmr: polling application
tcp_output: nothing to send (00000000)
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_output: nothing to send (00000000)
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_output: nothing to send (00000000)
pbuf_alloc(length=1536)
ethernet_input: dest:00:60:37:12:34:03, src:44:1c:a8:1a:df:cf, type:800
pbuf_header: old 100026e0 new 100026ee (-14)
ip_input: iphdr->dest 0xc800a8c0 netif->ip_addr 0xc800a8c0 (0xa8c0, 0xa8c0, 0xc8000000)
ip_input: packet accepted on interface en
ip_input:
IP header:
+-------------------------------+
| 4 | 5 | 0x00 | 52 | (v, hl, tos, len)
+-------------------------------+
| 9489 |010| 0 | (id, flags, offset)
+-------------------------------+
| 128 | 6 | 0x538d | (ttl, proto, chksum)
+-------------------------------+
| 192 | 168 | 0 | 13 | (src)
+-------------------------------+
| 192 | 168 | 0 | 200 | (dest)
+-------------------------------+
ip_input: p->len 52 p->tot_len 52
pbuf_header: old 100026ee new 10002702 (-20)
pbuf_header: old 10002702 new 10002716 (-20)
tcp_write(pcb=10003198, data=10002716, len=205, apiflags=1)
pbuf_alloc(length=205)
tcp_write : could not allocate memory for pbuf copy size 205