Hello,
I'm working on lwIP for sending data for raspberry device to windows
server. I use config below:

#define MEM_SIZE (1 * 1024 * 1024)
#define PBUF_POOL_SIZE (1024 * 4)
#undef PBUF_POOL_BUFSIZE
#define MEMP_NUM_TCP_PCB 128
#define MEMP_NUM_NETCONN 128
#define TCP_QUEUE_OOSEQ 1
#define TCP_MSS 1460
#define TCP_SND_BUF TCP_WND
#define TCP_SND_QUEUELEN (4 * TCP_SND_BUF/TCP_MSS)
#define TCP_WND 8 * TCP_MSS

But send speed ~20 MB/s and after about 10-20 seconds, i can't send data
any more and server send back many "dup ack" packets.

Please suggest any good config for using tcp with lwIP.

Regards,
Sol
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to