On Wed, 2006-10-04 at 16:07 -0400, Matthew Yingling wrote: > 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?
Yes. Sounds like you're using the raw API already, so that is good as far as performance goes. Depending on your exact traffic pattern, if you're using WinSock on the other end you may need to disable the Nagle algorithm as otherwise it may sit around waiting for more than 8 bytes before sending anything. I'm not sure how to do this on Windows. A packet trace captured using something like ethereal or tcpdump is usually quite good at seeing where the time is going, and if there are any large pauses that shouldn't be there. Hope that helps Kieran _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
