Feroz wrote: > My problem is that as long as i send a string shorter than 600 chars > everything seems to be ok, but when sending larger strings, i dont get > the "a" char i send after receiving something. So the program waits for > that on the last sysread on the client side. > Is there anything i have done wrong?
I guess you should traverse the whole pbuf-chain (a linked list) to obtain all payload bytes. Does 600 chars equals the PBUF_POOL_BUFSIZE setting in lwipopts.h? BTW I've found some problems with the IP reassembly and fragmentation code. You might encounter problems with ICMP or UDP payloads larger than your MTU (1500 bytes for Ethernet). I'm working on this issue. As long as you stick with TCP everything should go just fine. I can read / write a few megs over TCP without problems. Christiaan Simons Hardware / Software Engineer Axon Digital Design http://www.axon.tv This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
