Hello, I am implementing a Microblaze application using LwIP that reads and writes very short data streams via TCP. I'm writing eight bytes from a PC to the Microblaze running LwIP, and then LwIP sends out a single (data) byte back. I'm finding this painfully sluggish for such low data, on the order of tenths of seconds or longer. I think both the PC with a Win32 WinSock2 application and LwIP might be to blame.
I can stream UDP data at nearly a megabyte per second using LwIP, but that is using large ~1472 byte packets, so the physical link is ok. My approach was to use tcp_write(), but I have started following it with tcp_output() to force the data onto the wire immediately. Is this the correct approach? This may be off topic, but does anyone have pointers on optimizing speeds on WinSock2 with very short data streams? Thanks, Matthew Yingling _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
