Ram Posted June 9, 2019 Share Posted June 9, 2019 Hello everyone, can anyone please tell me the size of send buffer in echo server XSDK code and also in which header file it is mentioned ... your comments will be really helpful for me...please reply ... thanks Ram Link to comment Share on other sites More sharing options...
jpeyron Posted June 10, 2019 Share Posted June 10, 2019 Hi @Ram, I believe it is the size of the tpcb which is used in the echo.c with the tcp_sndbuf and tcp_recv. I have attached an altered echo.c file that looks for two different strings and send a specific response when it gets the two different strings. best regards, Jon echo.txt Link to comment Share on other sites More sharing options...
Ram Posted June 11, 2019 Author Share Posted June 11, 2019 13 hours ago, jpeyron said: Hi @Ram, I believe it is the size of the tpcb which is used in the echo.c with the tcp_sndbuf and tcp_recv. I have attached an altered echo.c file that looks for two different strings and send a specific response when it gets the two different strings. best regards, Jon echo.txt 4.23 kB · 0 downloads Hi jpeyron, thanks for your reply, actually in lwip echo server code, the tcp send buffer size is 8192 bytes, and it is fixed, but i need more size, becoze large number of data is transferring from zybo board to PC through ethernet, but due to limited size of send buffer only few data are receiving, i tried to change size 65536 bytes in system.mss file of board support package and it changed successfully, and rebuilding the program is successfully worked, and program is also successfully run on hardware but when i tried to make tcp connection via hercules utility tool. it said TCP connection timeout. i dont know why tcp connection is not made successfully by hercules, can you please help me out from this issue... thanks Link to comment Share on other sites More sharing options...
jpeyron Posted June 12, 2019 Share Posted June 12, 2019 Hi @Ram, I have not altered the size of the send buffer for the LWiP. I would suggest reaching out to xilinx about altering the send buffer with their IP. Here is a a xilinx wiki ( wiki ) and here is a forum thread that might be helpful as well. best regards, Jon Link to comment Share on other sites More sharing options...
Question
Ram
Hello everyone,
can anyone please tell me the size of send buffer in echo server XSDK code and also in which header file it is mentioned ...
your comments will be really helpful for me...please reply ...
thanks
Ram
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.