Quantcast
Channel:
Viewing all articles
Browse latest Browse all 59170

Forum Post: RE: S7 as FTP server; failing to write files to server while reading from it passes

$
0
0
The packet pool size is done programmatically like this when instantiating netX: status =  nx_packet_pool_create(&pool_0, "NetX Main Packet Pool", 2048, packet_pool_area, sizeof(packet_pool_area)); where my global packet_pool_area is defined as such: static ULONG packet_pool_area[2048*32]; I was initially using a smaller size than 2048*32 = 64k which was causing problems. 64k is a number that just works for me. I didn't try to optimize it. Perhaps a smaller number like 32k could work as well. To enable tcp window scaling, I had to manually put this in the nx_src_user.h file at this location: Project \synergy_cfg\ssp_cfg\framework\el\nx_src_user.h #if (1) #define NX_TCP_ENABLE_WINDOW_SCALING #endif I had to do it manually because trying to enable window scaling thru the configuration menu did not enable it in the underlying code. Hope it helps!

Viewing all articles
Browse latest Browse all 59170

Trending Articles