Which parameter to set to fix Package too large error

Hi,

Your test case works.
The solution you proposed was the correct fix.
Unfortunalty via name completion I wrote
channel.SecurityOptions.MaxRequestTime=maxMesSize;
and I was able to look over this error of mine for the past 6 hours :frowning:

By putting
channel.SecurityOptions.MaxRequestSize=maxMesSize;
the code works fine.
The MaxRequestTime even explains the ‘connection reset by peer’.

Sorry for the trouble & thanks for the help