Jump to content
  • 0

Xilinx SDK Templates echo server


Ram

Question

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...